attempt to put ogimage back
This commit is contained in:
parent
d86c7e9928
commit
0caaecf9f7
|
@ -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-dev05",
|
"version": "0.0.1-dev06",
|
||||||
"homepage": "https://astro-ghostcms.xyz/",
|
"homepage": "https://astro-ghostcms.xyz/",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
import LocalFont from '../generic/LocalFont.astro';
|
import LocalFont from '../generic/LocalFont.astro';
|
||||||
import { ViewTransitions } from 'astro:transitions';
|
import { ViewTransitions } from 'astro:transitions';
|
||||||
import { getSettings, invariant } from "@matthiesenxyz/astro-ghostcms/api";
|
import { getSettings, invariant } from "@matthiesenxyz/astro-ghostcms/api";
|
||||||
//import { getOgImagePath } from "@matthiesenxyz/astro-ghostcms/satoriOG";
|
import { getOgImagePath } from "@matthiesenxyz/astro-ghostcms/satoriOG";
|
||||||
|
|
||||||
|
|
||||||
const settings = await getSettings();
|
const settings = await getSettings();
|
||||||
|
@ -14,8 +14,7 @@ interface Props {
|
||||||
description: string;
|
description: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
//const ogI = new URL(getOgImagePath(Astro.url.pathname), Astro.url.origin).href;
|
const ogI = new URL(getOgImagePath(Astro.url.pathname), Astro.url.origin).href;
|
||||||
const ogI = ""
|
|
||||||
|
|
||||||
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
const canonicalURL = new URL(Astro.url.pathname, Astro.site);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue