Created
January 31, 2022 11:43
-
-
Save alanhchoi/bfa5d864eb2f73bee10a9b1c40c448bb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Head from 'next/head'; | |
export const pageTitleSuffix = ' / hoseokchoi.com'; | |
export default function PageTitle({ children }: { children: string }) { | |
return ( | |
<Head> | |
<title>{children.concat(pageTitleSuffix)}</title> | |
</Head> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment