Skip to content

Commit

Permalink
Add: Comment Component
Browse files Browse the repository at this point in the history
  • Loading branch information
leezekee committed Nov 2, 2023
1 parent 48905f4 commit 661efd3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { defineUserConfig } from "vuepress";
import theme from "./theme.js";
import { searchProPlugin } from "vuepress-plugin-search-pro";
import { commentPlugin } from "vuepress-plugin-comment2";

export default defineUserConfig({
base: "/",
Expand Down Expand Up @@ -28,6 +29,15 @@ export default defineUserConfig({
},
],
}),
commentPlugin({
provider: "Giscus",
repo: 'leezekee/blog-comment',
repoId: 'R_kgDOKoOSxw',
category: 'Announcements',
categoryId: 'DIC_kwDOKoOSx84CaoBQ',
mapping: 'pathname',
strict: false,
})
],
head: [
['script',
Expand Down

0 comments on commit 661efd3

Please sign in to comment.