Skip to content

Commit 09c852f

Browse files
author
yike.liang
committed
enable comment
1 parent acb6031 commit 09c852f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/.vuepress/theme.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,15 @@ export default hopeTheme({
136136
// categoryId: "DIC_kwDOG_Pt2M4COD69",
137137
// },
138138

139+
comment: {
140+
// You should generate and use your own comment service
141+
provider: "Giscus",
142+
repo: "javashub/javashub.github.io",
143+
repoId: "R_kgDOOJTEmQ", // 替换下
144+
category: "Announcements",
145+
categoryId: "DIC_kwDOOJTEmc4CoNmU" // 替换下
146+
},
147+
139148
// 开启复制自动附加版权
140149
copyright: {
141150
author: "JavasHub",

0 commit comments

Comments
 (0)