fix: Update image path to /opengraph/og.png

This commit is contained in:
Gauthier Daniels 2025-04-20 13:19:21 +02:00
parent 48bc83cdad
commit 6b02b4f4e7
3 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,7 @@ export default {
class: "flex min-h-full bg-white", class: "flex min-h-full bg-white",
}, },
image: "/og.png", image: "/opengraph/og.png",
prerender: true, prerender: true,
prefetchStaticAssets: "hover", prefetchStaticAssets: "hover",

View File

@ -14,8 +14,6 @@ export async function data(pageContext: PageContext) {
} = pageContext; } = pageContext;
const isRoot = urlParsed.pathname === "/"; const isRoot = urlParsed.pathname === "/";
console.log({ isRoot, urlParsed });
config({ config({
title: buildTitle(isRoot ? undefined : frontmatter?.title), title: buildTitle(isRoot ? undefined : frontmatter?.title),
description: frontmatter?.description, description: frontmatter?.description,

View File

Before

Width:  |  Height:  |  Size: 74 KiB

After

Width:  |  Height:  |  Size: 74 KiB