diff options
author | Chen Xianmin <xianmin12@gmail.com> | 2022-09-07 15:21:02 +0300 |
---|---|---|
committer | Chen Xianmin <xianmin12@gmail.com> | 2022-09-07 15:21:02 +0300 |
commit | c6ef58996189bcafef0c5377ed18141a2338eed1 (patch) | |
tree | 855f5bcc1b878a4280bb526e49a0a142e9e508a8 /dev-config.toml | |
parent | b4e53196ce61e54096d6e1d034def89ff48e3323 (diff) |
feat: giscus comment system support
see: https://giscus.app
Diffstat (limited to 'dev-config.toml')
-rw-r--r-- | dev-config.toml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/dev-config.toml b/dev-config.toml index 95f97aa..fc582e5 100644 --- a/dev-config.toml +++ b/dev-config.toml @@ -161,11 +161,26 @@ defaultContentLanguage = "en" # Default language to use (if you setup multiling slideout = '<script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>' [params.utteranc] # utteranc is a comment system based on GitHub issues. see https://utteranc.es - enable = true + enable = false repo = "xianmin/comments-for-hugo-theme-jane" # The repo to store comments issueTerm = "pathname" theme = "github-light" # theme: github-light, github-dark, github-dark-orange, icy-dark, dark-blue, photon-dark + [params.giscus] # giscus is a comment system based on GitHub Discussions. see https://giscus.app + enable = true + repo = "xianmin/comments-for-hugo-theme-jane" + repoId = "MDEwOlJlcG9zaXRvcnkxNDAyNDYzNjc=" + category = "Announcements" + categoryId = "DIC_kwDOCFv9X84CRRWF" + # mapping = "pathname" # comment value is the default value + # strict = 0 + # reactionsEnabled = 1 + # emitMetadata = 0 + # inputPosition = "top" + # theme = "light" + # lang = "en" + # lazyLoading = false + [params.search.google] # google custom search, see https://cse.google.com enable = true id = "002186711602136249422:q1gkomof_em" |