test
This commit is contained in:
parent
4ed3890a75
commit
42660b406d
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@matthiesenxyz/astro-ghostcms-brutalbyelian",
|
"name": "@matthiesenxyz/astro-ghostcms-brutalbyelian",
|
||||||
"description": "ElianCodes Brutal theme modified to work with Astro-GhostCMS",
|
"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/",
|
"homepage": "https://astro-ghostcms.xyz/",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -8,6 +8,7 @@ import { getOgImagePath } from "@matthiesenxyz/astro-ghostcms/satoriOG";
|
||||||
const settings = await getSettings();
|
const settings = await getSettings();
|
||||||
invariant(settings, 'Settings not found');
|
invariant(settings, 'Settings not found');
|
||||||
const Ghosttitle = settings.title;
|
const Ghosttitle = settings.title;
|
||||||
|
const favicon = await settings.icon;
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
title: string;
|
title: string;
|
||||||
|
@ -43,7 +44,7 @@ const { title, description } = Astro.props;
|
||||||
<meta property='twitter:image' content={ogI} />
|
<meta property='twitter:image' content={ogI} />
|
||||||
|
|
||||||
<link rel='canonical' href={canonicalURL} />
|
<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>
|
<title>{Ghosttitle} | {title}</title>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue