diff options
Diffstat (limited to 'config-examples/en/config.toml')
-rw-r--r-- | config-examples/en/config.toml | 31 |
1 files changed, 28 insertions, 3 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 |