diff options
author | sslyxhz <sslyxhz@hotmail.com> | 2018-03-11 14:47:13 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2018-03-11 14:47:13 +0800 |
commit | 1da110d6b1d03824eba1aed1cf14ca5dee763e58 (patch) | |
tree | 3ec8ebdf4e5f93e31583fcd74604b7c8fb403582 /exampleSite | |
parent | 52777345e4db7693d665699346b86ffb25ae8077 (diff) |
feat: add gitment module (#36)
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/config.toml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 984abf3..6376691 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -92,6 +92,14 @@ copyright = "" # default: author.name ↓ # 默认为下面配 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>' fancyboxJs = '<script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>' fancyboxCss = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">' + gitmentJS = '<script src="https://cdn.jsdelivr.net/npm/gitment@0.0.3/dist/gitment.browser.min.js" crossorigin="anonymous"></script>' + gitmentCSS = '<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/gitment@0.0.3/style/default.min.css" crossorigin="anonymous">' + + [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.busuanzi] # count web traffic by busuanzi # 是否使用不蒜子统计站点访问量 enable = false |