mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-24 21:34:06 -06:00
增加评论
This commit is contained in:
parent
c8e2bc5dd5
commit
d6702bb8d0
@ -45,6 +45,25 @@ export const defaultContentPageLayout: PageLayout = {
|
||||
Component.DesktopOnly(Component.TableOfContents()),
|
||||
Component.Backlinks(),
|
||||
],
|
||||
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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user