Update quartz.layout.ts

This commit is contained in:
enneaa 2025-03-13 21:20:03 +08:00 committed by GitHub
parent 493cef8c67
commit 67bf260847
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -41,7 +41,25 @@ export const defaultContentPageLayout: PageLayout = {   
Component.Backlinks(),     
Component.Graph(),       
], 
afterBody: [],
afterBody: [
Component.Comments({
provider: 'giscus',
options: {
// from data-repo
repo: 'enneaa/giscus',
// from data-repo-id
repoId: 'R_kgDOOHb7aw',
// from data-category
category: 'Announcements',
// from data-category-id
categoryId: 'DIC_kwDOOHb7a84Cn6os',
themeUrl: "https://enneaaa.netlify.app/static/giscus",
lightTheme: "light-theme",
darkTheme: "dark-theme",
inputPosition: "top",
}
}),
],
}
// components for pages that display lists of pages (e.g. tags or folders)