Update quartz.layout.ts

This commit is contained in:
enneaa 2025-03-13 01:57:41 +08:00 committed by GitHub
parent 6d7e6aedfb
commit adc405cdc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,14 +2,19 @@ import { PageLayout, SharedLayout } from "./quartz/cfg"
import * as Component from "./quartz/components" import * as Component from "./quartz/components"
// components shared across all pages // components shared across all pages
export const sharedPageComponents: SharedLayout = { export const sharedPageComponents: SharedLayout = { 
head: Component.Head(), head: Component.Head(),
header: [], header: [],
left: [Component.RecentNotes({
title: "最近笔记",
limit: 5,
showTags: true
})],
afterBody: [], afterBody: [],
footer: Component.Footer({ footer: Component.Footer({
links: { links: {
GitHub: "https://github.com/jackyzha0/quartz", GitHub: "https://github.com/jackyzha0/quartz",
"Discord Community": "https://discord.gg/cRFFHYye7t", "Discord Community": "https://discord.gg/cRFFHYye7t", 
}, },
}), }),
} }