Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Xianmin <xianmin12@gmail.com>2022-09-07 15:21:02 +0300
committerChen Xianmin <xianmin12@gmail.com>2022-09-07 15:21:02 +0300
commitc6ef58996189bcafef0c5377ed18141a2338eed1 (patch)
tree855f5bcc1b878a4280bb526e49a0a142e9e508a8 /exampleSite
parentb4e53196ce61e54096d6e1d034def89ff48e3323 (diff)
feat: giscus comment system support
see: https://giscus.app
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/full-config.toml21
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"