This commit is contained in:
Adam Matthiesen 2024-02-10 09:18:36 -08:00
parent 558cda7f83
commit d86c7e9928
2 changed files with 5 additions and 4 deletions

View File

@ -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-dev04", "version": "0.0.1-dev05",
"homepage": "https://astro-ghostcms.xyz/", "homepage": "https://astro-ghostcms.xyz/",
"type": "module", "type": "module",
"license": "MIT", "license": "MIT",
@ -57,7 +57,7 @@
"dependencies": { "dependencies": {
"@iconify-json/logos": "^1.1.41", "@iconify-json/logos": "^1.1.41",
"@iconify-json/uil": "^1.1.8", "@iconify-json/uil": "^1.1.8",
"@matthiesenxyz/astro-ghostcms": "^3.1.8", "@matthiesenxyz/astro-ghostcms": "^3.2.1",
"@unocss/astro": "^0.57.7", "@unocss/astro": "^0.57.7",
"@unocss/reset": "^0.57.7", "@unocss/reset": "^0.57.7",
"unocss": "^0.57.7", "unocss": "^0.57.7",

View File

@ -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,7 +14,8 @@ 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);