添加评论,并适当完善主体

This commit is contained in:
2025-08-25 21:24:00 +08:00
parent 59a1b1e29a
commit a5c007a2e9
2 changed files with 20 additions and 2 deletions

View File

@@ -93,6 +93,22 @@ const blogTheme = getThemeConfig({
// ],
// duration: 0
//},
comment: {
type: 'giscus',
options: {
repo: 'handsomezhuzhu/handsomezhuzhu.github.io',
repoId: 'R_kgDOPjK9uQ',
category: 'Q&A',
categoryId: 'DIC_kwDOPjK9uc4CukWC',
//mapping: 'pathname',
//reactionsEnabled: true,
//emitMetadata: false,
inputPosition: 'top',
//theme: 'preferred_color_scheme',
lang: 'zh-CN',
},
mobileMinify: false
}
})
export { blogTheme }