提示:Homepage URL和Authorization callback URL如果绑定了自己的域名,最好填写自定义域名,不要填写***.github.io ,否则可能会出现The redirect_uri is not associated with this application 的提示。
NexT配置
修改主题_config.yml(根目录下)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Gitalk # For more information: https://gitalk.github.io gitalk: enable: true github_id: zjykzj # GitHub repo owner repo: guestbook # Repository name to store issues client_id: e15xxxxx63dce # GitHub Application Client ID client_secret: 76cxxxxxf766 # GitHub Application Client Secret admin_user: zjykzj # GitHub repo owner and collaborators, only these guys can initialize gitHub issues distraction_free_mode: true # Facebook-like distraction free mode # When the official proxy is not available, you can change it to your own proxy address proxy: https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token # This is official proxy adress # Gitalk's display language depends on user's browser or system environment # If you want everyone visiting your site to see a uniform language, you can set a force language value # Available values: en | es-ES | fr | ru | zh-CN | zh-TW language: zh-CN