Gitment是使用的GitHub Issues作为评论系统
一、在GitHub上创建OAuth Apps
如下图:
image1.png如果博客绑定的域名,callback URL就需要使用域名了比如:https://yuanlairubi.com
二、修改_config.yml
在themes->yilia->_config.yml中修改如下
#5、Gitment
gitment_owner: 'nonoBruce' #你的 GitHub ID
gitment_repo: 'nonobruce.github.io' #存储评论的 repo
gitment_oauth:
client_id: '92b923359ac16dxxxxxx' #client ID
client_secret: '499f01cdb673aacac9211c4529f74xxxxx'
#client secret
gitment_repo使用Repository name
image2.png
网友评论