From 0caaecf9f7170863c1c676c5650a11040d62dca5 Mon Sep 17 00:00:00 2001 From: Adam Matthiesen Date: Sat, 10 Feb 2024 09:36:51 -0800 Subject: [PATCH] attempt to put ogimage back --- packages/astro-ghostcms-brutalbyelian/package.json | 2 +- .../src/components/layout/BaseHead.astro | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/astro-ghostcms-brutalbyelian/package.json b/packages/astro-ghostcms-brutalbyelian/package.json index 3fc5cace..5b7dfd9e 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-dev05", + "version": "0.0.1-dev06", "homepage": "https://astro-ghostcms.xyz/", "type": "module", "license": "MIT", diff --git a/packages/astro-ghostcms-brutalbyelian/src/components/layout/BaseHead.astro b/packages/astro-ghostcms-brutalbyelian/src/components/layout/BaseHead.astro index d0b57b23..f547a88d 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,8 +14,7 @@ interface Props { description: string; } -//const ogI = new URL(getOgImagePath(Astro.url.pathname), Astro.url.origin).href; -const ogI = "" +const ogI = new URL(getOgImagePath(Astro.url.pathname), Astro.url.origin).href; const canonicalURL = new URL(Astro.url.pathname, Astro.site);