Skip to content

Commit

Permalink
feat: 增加giscus评论系统
Browse files Browse the repository at this point in the history
  • Loading branch information
MuYi086 committed Jun 26, 2024
1 parent 6f70897 commit 8c20530
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Docs/.vitepress/blog-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,18 @@ const blogTheme = getThemeConfig({
// ],
// duration: 0
// },
// giscus配置: https://giscus.app/zh-CN
comment: {
type: 'giscus',
options: {
repo: 'MuYi086/blog',
repoId: 'MDEwOlJlcG9zaXRvcnkxNzE3NzI2NTU=',
category: 'Announcements',
categoryId: 'DIC_kwDOCj0K784CgZR2',
inputPosition: 'top'
},
mobileMinify: true
}
})

export { blogTheme }

0 comments on commit 8c20530

Please sign in to comment.