rework/lightweight #12
@ -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",
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
|
After Width: | Height: | Size: 74 KiB |
Loading…
Reference in New Issue
Block a user