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

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMakise Von <v.makise@foxmail.com>2022-10-30 06:06:21 +0300
committerGitHub <noreply@github.com>2022-10-30 06:06:21 +0300
commitb8b3a82ad2cd5bf350629faf12ae82bb359f67f8 (patch)
tree3e70db200ed7fbc6aea04ba7cf24321a664e223a /config-examples
parent4d5a1e6f086570762693c3a63ddf58ff015ffa30 (diff)
feat: support gitalk fully (#410)HEADmaster
Diffstat (limited to 'config-examples')
-rw-r--r--config-examples/en/config.toml31
-rw-r--r--config-examples/zh-cn/config.toml31
-rw-r--r--config-examples/zh-tw/config.toml31
3 files changed, 84 insertions, 9 deletions
diff --git a/config-examples/en/config.toml b/config-examples/en/config.toml
index a387e09..d55d2b7 100644
--- a/config-examples/en/config.toml
+++ b/config-examples/en/config.toml
@@ -696,13 +696,38 @@ uglyURLs = false
gitalkRepo = "your_repository"
gitalkOwner = "your_gitalk_owner"
gitalkAdmin = ["your_gitalk_admin"]
- gitalkLable = ["Gitalk"]
- gitalkDistractionFreeMode = false
- gitalkPerPage = 10
+
+ # 1. default (`location.href`)
+ # 2. pathname (`location.pathname`)
+ # 3. hash (hash_filepath)
+ # 4. custom:your_gitalk_id ("your_gitalk_id")
+ gitalkID = "pathname"
+
+ gitalkNumber = -1
+ gitalkLables = ["Gitalk"]
+
+ # 1. default (`document.title`)
+ # 2. custom:your_gitalk_title ("your_gitalk_title")
+ gitalkTitle = "default"
+
+ # 1. default (`location.href` + header.meta[description])
+ # 2. href (`location.href`)
+ # 3. custom:your_gitalk_body ("your_gitalk_body")
+ gitalkBody = "default"
+
+ # 1. default (`navigator.language || navigator.userLanguage`)
+ # 2. Support [en, zh-CN, zh-TW, es-ES, fr, ru, de, pl, ko, fa, ja]
gitalkLanguage = "en"
+
+ gitalkPerPage = 10
+ gitalkDistractionFreeMode = false
gitalkPagerDirection = "last"
gitalkCreateIssueManually = false
gitalkProxy = "https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token"
+ gitalkStaggerDelayBy = 150
+ gitalkAppearAnimation = "accordionVertical"
+ gitalkEnterAnimation = "accordionVertical"
+ gitalkLeaveAnimation = "accordionVertical"
gitalkEnableHotKey = true
# Note: https://github.com/gitalk/gitalk
diff --git a/config-examples/zh-cn/config.toml b/config-examples/zh-cn/config.toml
index f739e42..28dfe79 100644
--- a/config-examples/zh-cn/config.toml
+++ b/config-examples/zh-cn/config.toml
@@ -643,13 +643,38 @@ uglyURLs = false
gitalkRepo = "your_repository"
gitalkOwner = "your_gitalk_owner"
gitalkAdmin = ["your_gitalk_admin"]
- gitalkLable = ["Gitalk"]
- gitalkDistractionFreeMode = false
+
+ # 1. default (`location.href`)
+ # 2. pathname (`location.pathname`)
+ # 3. hash (hash_filepath)
+ # 4. custom:your_gitalk_id ("your_gitalk_id")
+ gitalkID = "pathname"
+
+ gitalkNumber = -1
+ gitalkLables = ["Gitalk"]
+
+ # 1. default (`document.title`)
+ # 2. custom:your_gitalk_title ("your_gitalk_title")
+ gitalkTitle = "default"
+
+ # 1. default (`location.href` + header.meta[description])
+ # 2. href (`location.href`)
+ # 3. custom:your_gitalk_body ("your_gitalk_body")
+ gitalkBody = "default"
+
+ # 1. default (`navigator.language || navigator.userLanguage`)
+ # 2. Support [en, zh-CN, zh-TW, es-ES, fr, ru, de, pl, ko, fa, ja]
+ gitalkLanguage = "zh-CN"
+
gitalkPerPage = 10
- gitalkLanguage = "en"
+ gitalkDistractionFreeMode = false
gitalkPagerDirection = "last"
gitalkCreateIssueManually = false
gitalkProxy = "https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token"
+ gitalkStaggerDelayBy = 150
+ gitalkAppearAnimation = "accordionVertical"
+ gitalkEnterAnimation = "accordionVertical"
+ gitalkLeaveAnimation = "accordionVertical"
gitalkEnableHotKey = true
# 说明:https://github.com/gitalk/gitalk
diff --git a/config-examples/zh-tw/config.toml b/config-examples/zh-tw/config.toml
index 446786d..3424bf9 100644
--- a/config-examples/zh-tw/config.toml
+++ b/config-examples/zh-tw/config.toml
@@ -643,13 +643,38 @@ uglyURLs = false
gitalkRepo = "your_repository"
gitalkOwner = "your_gitalk_owner"
gitalkAdmin = ["your_gitalk_admin"]
- gitalkLable = ["Gitalk"]
- gitalkDistractionFreeMode = false
+
+ # 1. default (`location.href`)
+ # 2. pathname (`location.pathname`)
+ # 3. hash (hash_filepath)
+ # 4. custom:your_gitalk_id ("your_gitalk_id")
+ gitalkID = "pathname"
+
+ gitalkNumber = -1
+ gitalkLables = ["Gitalk"]
+
+ # 1. default (`document.title`)
+ # 2. custom:your_gitalk_title ("your_gitalk_title")
+ gitalkTitle = "default"
+
+ # 1. default (`location.href` + header.meta[description])
+ # 2. href (`location.href`)
+ # 3. custom:your_gitalk_body ("your_gitalk_body")
+ gitalkBody = "default"
+
+ # 1. default (`navigator.language || navigator.userLanguage`)
+ # 2. Support [en, zh-CN, zh-TW, es-ES, fr, ru, de, pl, ko, fa, ja]
+ gitalkLanguage = "zh-TW"
+
gitalkPerPage = 10
- gitalkLanguage = "en"
+ gitalkDistractionFreeMode = false
gitalkPagerDirection = "last"
gitalkCreateIssueManually = false
gitalkProxy = "https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token"
+ gitalkStaggerDelayBy = 150
+ gitalkAppearAnimation = "accordionVertical"
+ gitalkEnterAnimation = "accordionVertical"
+ gitalkLeaveAnimation = "accordionVertical"
gitalkEnableHotKey = true
# 說明:https://github.com/gitalk/gitalk