import Head from 'next/head' export default () => ( <div id="page-with-title"> <Head> <title>Another Page's Title</title> </Head> <div>My heading</div> <div>Extraneous stuff</div> </div> )