diff --git a/tubearchivist/www/src/components/CustomHead.tsx b/tubearchivist/www/src/components/CustomHead.tsx index 9b2eca8..b116c78 100644 --- a/tubearchivist/www/src/components/CustomHead.tsx +++ b/tubearchivist/www/src/components/CustomHead.tsx @@ -2,6 +2,7 @@ import Head from "next/head"; /** * TODO: Dynamically get the title + * TODO: NextJS recommended pattern for SEO */ export const CustomHead = ({ title }: { title?: string }) => { return ( @@ -38,11 +39,9 @@ export const CustomHead = ({ title }: { title?: string }) => { - {/* {% if title %} */} - TA | {{ title }} - {/* {% else %} */} - TubeArchivist - {/* {% endif %} */} + + {title ? TA | {title} : TubeArchivist} + {/* {% if colors == "dark" %} */} {/* */} {/* {% else %} */}