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 /exampleSite | |
parent | b4e53196ce61e54096d6e1d034def89ff48e3323 (diff) |
feat: giscus comment system support
see: https://giscus.app
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/full-config.toml | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/exampleSite/full-config.toml b/exampleSite/full-config.toml index 1535174..6fd35fc 100644 --- a/exampleSite/full-config.toml +++ b/exampleSite/full-config.toml @@ -138,17 +138,26 @@ defaultContentLanguage = "en" # Default language to use photoswipeCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/photoswipe.css" integrity="sha256-SBLU4vv6CA6lHsZ1XyTdhyjJxCjPif/TRkjnsyGAGnE=" crossorigin="anonymous">' photoswipeSKIN = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/photoswipe@4.1.3/dist/default-skin/default-skin.css" integrity="sha256-c0uckgykQ9v5k+IqViZOZKc47Jn7KQil4/MP3ySA3F8=" crossorigin="anonymous">' + [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.utteranc] # utteranc is a comment system based on GitHub issues. see https://utteranc.es enable = false repo = "xianmin/comments-for-hugo-theme-jane" # The repo to store comments issueTerm = "pathname" - [params.gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment - owner = "" # Your GitHub ID - repo = "" # The repo to store comments - clientId = "" # Your client ID - clientSecret = "" # Your client secret - [params.commento] # Commento is a feature rich lightweight comment system oriented on privacy (https://commento.io/) enable = false url = "http://commento.example.com" |