test
This commit is contained in:
parent
4ed3890a75
commit
42660b406d
|
@ -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",
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in New Issue