Update quartz.layout.ts

This commit is contained in:
enneaa 2025-03-14 19:19:44 +08:00 committed by GitHub
parent 8f6a548e37
commit 41281476b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,26 +5,7 @@ import * as Component from "./quartz/components"
export const sharedPageComponents: SharedLayout = {  
head: Component.Head(),
header: [],
afterBody: [
Component.Comments({
provider: 'giscus',
options: {
// from data-repo
repo: 'CatMuse/CatMuse',
// from data-repo-id
repoId: 'R_kgDON1wDZg',
// from data-category
category: 'Announcements',
// from data-category-id
categoryId: 'DIC_kwDON1wDZs4Cmywd',
themeUrl: "https://www.catmuse.me/static/giscus", // corresponds to quartz/static/giscus/
lightTheme: "light", // corresponds to light-theme.css in quartz/static/giscus/
darkTheme: "dark", // corresponds to dark-theme.css quartz/static/giscus/
mapping: "pathname",
inputPosition: "top",
}
}),
],
afterBody: [],
footer: Component.Footer({ 
links: {
GitHub: "https://github.com/enneaa",