chore: myriad fixes + artist pages

This commit is contained in:
Cory Dransfeldt 2024-11-17 13:21:45 -08:00
parent aec8471b06
commit ff00020b70
No known key found for this signature in database
53 changed files with 753 additions and 486 deletions

View file

@ -1,6 +1,6 @@
---
import { escapeHtml } from "@utils/helpers/general.js";
import { fetchGlobalData } from '@utils/data/global/index.js';
import { fetchGlobalData } from "@utils/data/global/index.js";
const {
schema = "page",
@ -107,7 +107,8 @@ if (titleOverride) pageTitle = titleOverride;
if (descriptionOverride) pageDescription = descriptionOverride;
if (ogImageOverride) ogImage = ogImageOverride;
if (pageTitle !== globals.site_name && schema !== "blog") pageTitle = `${pageTitle} / ${globals.site_name}`;
if (pageTitle !== globals.site_name && schema !== "blog")
pageTitle = `${pageTitle} / ${globals.site_name}`;
const escapedPageDescription = escapeHtml(pageDescription);
---