Application name
Homepage URL
Application description
Authorization callback URL
最后 这个东西 要填你 博客的 url ,点进去之后 都会有说明。弄完之后 会出现两个东西
Client ID
Client Secret
这两个东西 大家 要记住了。接下来配置的时候会用到。
配置 next
打开我们的站点配置文件 _config.yml 然后找到 gitment。
enable: true
mint: true # RECOMMEND, A mint on Gitment, to support count, language and proxy_gateway
count: true # Show comments count in post meta area
lazy: false # Comments lazy loading with a button
cleanly: false # Hide 'Powered by ...' on footer, and more
language: 语言
github_user: 你的 github 名
github_repo: 你的仓库名
client_id: 刚刚的 Client ID
client_secret: 刚刚的 Client Secret