This commit is contained in:
Adam Matthiesen 2024-02-10 20:30:20 -08:00
parent 4ed3890a75
commit 42660b406d
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "@matthiesenxyz/astro-ghostcms-brutalbyelian",
"description": "ElianCodes Brutal theme modified to work with Astro-GhostCMS",
"version": "0.0.1-dev07",
"version": "0.0.1-dev08",
"homepage": "https://astro-ghostcms.xyz/",
"type": "module",
"license": "MIT",

View File

@ -8,6 +8,7 @@ import { getOgImagePath } from "@matthiesenxyz/astro-ghostcms/satoriOG";
const settings = await getSettings();
invariant(settings, 'Settings not found');
const Ghosttitle = settings.title;
const favicon = await settings.icon;
interface Props {
title: string;
@ -43,7 +44,7 @@ const { title, description } = Astro.props;
<meta property='twitter:image' content={ogI} />
<link rel='canonical' href={canonicalURL} />
<link rel='icon' type='image/svg' href={settings.icon} />
<link rel='icon' type='image/svg' href={favicon} />
<title>{Ghosttitle} | {title}</title>