diff options
Diffstat (limited to 'config.template.toml')
-rw-r--r-- | config.template.toml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/config.template.toml b/config.template.toml index f727504..9d34d24 100644 --- a/config.template.toml +++ b/config.template.toml @@ -23,7 +23,21 @@ pygmentsUseClasses = true favicon = "/images/github.png" location = "China" userStatusEmoji = "😀" - + enableGitalk = true + + [params.gitalk] + clientID = "Your client ID" # Your client ID + clientSecret = "Your client secret" # Your client secret + repo = "LuvSia" # 您的博客的github地址Repository name,例如:xxxx.github.io + owner = "ventusoon" # 您的GitHub ID + admin = "ventusoon" # 您的GitHub ID + id = "location.pathname" # 文章页面的链接地址就是ID + labels = "gitalk" # Github issue labels. If you used to use Gitment, you can change it + perPage = 15 # Pagination size, with maximum 100. + pagerDirection = "last" # Comment sorting direction, available values are 'last' and 'first'. + createIssueManually = true # 设置为true,如果是管理员登录,会自动创建issue,如果是false,需要管理员手动添加第一个评论(issue) + distractionFreeMode = false # Enable hot key (cmd|ctrl + enter) submit comment. + proxy = "https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token" # 可以自行添加反向代理 [[params.links]] title = "Link" href = "https://github.com/meik2333" |