diff --git a/components/shared/ui/appPage.tsx b/components/shared/ui/appPage.tsx index eeb4373..5dfda41 100644 --- a/components/shared/ui/appPage.tsx +++ b/components/shared/ui/appPage.tsx @@ -96,6 +96,6 @@ const createMetaTitle = (siteCodename: ValidCollectionCodename, item: AcceptedIt const siteTitle = perCollectionSEOTitle[siteCodename]; const pageTitle = item.elements.metadataTitle.value; - return pageTitle !== siteTitle ? `${pageTitle} | ${siteTitle}` : siteTitle; + return pageTitle && pageTitle !== siteTitle ? `${pageTitle} | ${siteTitle}` : siteTitle; };