Configure Quartz for production

This commit is contained in:
vorpax
2026-01-05 22:41:39 +01:00
parent f3622751a1
commit 4bab7d0d86
19 changed files with 778 additions and 9 deletions

View File

@@ -8,8 +8,7 @@ export const sharedPageComponents: SharedLayout = {
afterBody: [],
footer: Component.Footer({
links: {
GitHub: "https://github.com/jackyzha0/quartz",
"Discord Community": "https://discord.gg/cRFFHYye7t",
// Add your custom links here
},
}),
}
@@ -41,6 +40,12 @@ export const defaultContentPageLayout: PageLayout = {
Component.Explorer(),
],
right: [
Component.RecentNotes({
title: "Recent Posts",
limit: 5,
filter: (page) => page.slug?.startsWith("blog/") ?? false,
linkToMore: "blog" as any,
}),
Component.Graph(),
Component.DesktopOnly(Component.TableOfContents()),
Component.Backlinks(),