quotes-nextjs

My favourite quotes. (nextjs)
git clone http://git.hanabi.in/repos/quotes-nextjs.git
Log | Files | Refs | LICENSE

HeadTitle.js (387B)


      1 import Head from "next/head";
      2 
      3 import { site } from "../config.js";
      4 
      5 function HeadTitle({ title, ogtitle }) {
      6   return (
      7     <Head>
      8       <title>
      9         {title} &bull; {site.title}
     10       </title>
     11       <meta property="og:title" content={ogtitle} key="ogtitle" />
     12       <meta property="twitter:title" content={ogtitle} key="twittertitle" />
     13     </Head>
     14   );
     15 }
     16 
     17 export default HeadTitle;