Gitalk配置

其实很简单

Posted by WK on 2021-09-24
Estimated Reading Time 1 Minutes
Words 115 In Total
Viewed Times

1.首先在https://github.com/settings/developers里面建立一个新的OAuthApps
具体的格式如下:

1.png

2.png

最后一个很重要,建议Homepage URL和Authorization callback URL填写同一个,也就是你的博客地址

2.在你的github中新建一个空仓库

3.png

并且在设置中开启Issues(好像是默认开启)
3.在Hexo的_config.yml中修改gitalk配置,如下:

4.png

client_id和client_secret可以在你的OAuthApps找到:

5.png

4.然后就可以愉快的玩耍了啊


If you like this blog or find it useful for you, you are welcome to comment on it. You are also welcome to share this blog, so that more people can participate in it. If the images used in the blog infringe your copyright, please contact the author to delete them. Thank you !