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 /dev-config.toml
parentb4e53196ce61e54096d6e1d034def89ff48e3323 (diff)
feat: giscus comment system support
see: https://giscus.app
Diffstat (limited to 'dev-config.toml')
-rw-r--r--dev-config.toml17
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"