From d86c7e99283ecc9765f10f1a9b76aa279b8189ca Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Sat, 10 Feb 2024 09:18:36 -0800 Subject: [PATCH] test --- packages/astro-ghostcms-brutalbyelian/package.json | 4 ++-- .../src/components/layout/BaseHead.astro | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/astro-ghostcms-brutalbyelian/package.json b/packages/astro-ghostcms-brutalbyelian/package.json index 8fb6f962..3fc5cace 100644 --- a/packages/astro-ghostcms-brutalbyelian/package.json +++ b/packages/astro-ghostcms-brutalbyelian/package.json @@ -1,7 +1,7 @@ { "name": "@matthiesenxyz/astro-ghostcms-brutalbyelian", "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/", "type": "module", "license": "MIT", @@ -57,7 +57,7 @@ "dependencies": { "@iconify-json/logos": "^1.1.41", "@iconify-json/uil": "^1.1.8", - "@matthiesenxyz/astro-ghostcms": "^3.1.8", + "@matthiesenxyz/astro-ghostcms": "^3.2.1", "@unocss/astro": "^0.57.7", "@unocss/reset": "^0.57.7", "unocss": "^0.57.7", diff --git a/packages/astro-ghostcms-brutalbyelian/src/components/layout/BaseHead.astro b/packages/astro-ghostcms-brutalbyelian/src/components/layout/BaseHead.astro index f547a88d..d0b57b23 100644 --- a/packages/astro-ghostcms-brutalbyelian/src/components/layout/BaseHead.astro +++ b/packages/astro-ghostcms-brutalbyelian/src/components/layout/BaseHead.astro @@ -2,7 +2,7 @@ import LocalFont from '../generic/LocalFont.astro'; import { ViewTransitions } from 'astro:transitions'; 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(); @@ -14,7 +14,8 @@ interface Props { 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);