diff --git a/apps/website/src/pages/404.tsx b/apps/website/src/pages/404.tsx index e97572c6f..f5427a615 100644 --- a/apps/website/src/pages/404.tsx +++ b/apps/website/src/pages/404.tsx @@ -33,10 +33,6 @@ type NotFoundPageQuery = { }; }; -export function Head() { - return ; -} - export default function Index({ data }: PageProps) { return ( diff --git a/apps/website/src/pages/__preview/page.tsx b/apps/website/src/pages/__preview/page.tsx index 84a149a79..9ca14376a 100644 --- a/apps/website/src/pages/__preview/page.tsx +++ b/apps/website/src/pages/__preview/page.tsx @@ -3,7 +3,7 @@ import React from 'react'; import PagePreview from '../../preview/page'; export function Head() { - return ; + return Page preview; } export default function PagePreviewTemplate() { diff --git a/apps/website/src/pages/content-hub.tsx b/apps/website/src/pages/content-hub.tsx index 3ffbeac19..7bcf2cec2 100644 --- a/apps/website/src/pages/content-hub.tsx +++ b/apps/website/src/pages/content-hub.tsx @@ -2,7 +2,8 @@ import { ContentHub } from '@custom/ui/routes/ContentHub'; import React from 'react'; export function Head() { - return ; + // TODO: Add title once content hub is language aware. + return null; } export default function ContentHubPage() { diff --git a/apps/website/src/templates/page.tsx b/apps/website/src/templates/page.tsx index 3fc97cb28..03c40626e 100644 --- a/apps/website/src/templates/page.tsx +++ b/apps/website/src/templates/page.tsx @@ -19,7 +19,7 @@ type PageTemplateQuery = { export function Head({ data }: HeadProps) { return ( <> - + {data.page.title} {data.page.metaTags?.map((metaTag, index) => { if (metaTag?.tag === 'meta') { return (