diff --git a/src/.vuepress/config.ts b/src/.vuepress/config.ts index e9f2455..57200d0 100644 --- a/src/.vuepress/config.ts +++ b/src/.vuepress/config.ts @@ -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: "/", @@ -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',