rework/lightweight #12

Merged
GauthierWebDev merged 106 commits from rework/lightweight into main 2025-04-21 16:27:38 +00:00
3 changed files with 1 additions and 3 deletions
Showing only changes of commit 6b02b4f4e7 - Show all commits

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

After

Width:  |  Height:  |  Size: 74 KiB