gittalk Error: Not Found.
2019-08-29 11:52
1931 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qing_gee/article/details/100133060
网上找了很多解决方案,现在贴出来给需要的人一个指导。
最近使用 GitHub Pages 和 Jekyll 搭建了一个博客系统(www.itwanger.com),评论使用了 gittalk,但出现了
Error: Not Found.的错误。截图如下。
网上找了很多解决方案,现在贴出来给需要的人一个指导。
01、新建评论的仓库
第一步,建一个空的仓库(博客里面的评论会提交到这个仓库里)。
第二步,注意在 setting 中启用该仓库的 issues。
第三步,初始化 issues。
第一条 issue 加了上来。
02、注意 GitHub Apps 的 OAuth Apps 配置项
GitHub Apps 的 OAuth Apps 的配置项如下:
解释一下:
1)Application name 可以随便填一个。
2)Homepage URL 必须是博客仓库的域名(GitHub Pages 的)。
3)Authorization callback URL 必须是博客的域名(http://www.itwanger.com)。
03、Jekyll _config.yml 的配置
gitalk: owner: qinggee repo: blog-comments clientID: 11a6f252f6224761 clientSecret: 3d1722301d3ecfc3828d137c9ea50c00a7
1)owner 为 GitHub 的登录名;
2)repo 为 01 中新建的评论仓库
3)clientID 和 clientSecret 则为 OAuth Apps 生成的。
04、最后
如果你遇到了新的问题,可以关注我的公众号「沉默王二」,后台留言给我。
备注:
Gitment 是某个大佬实现的一款基于 GitHub Issues 的评论系统。支持在前端直接引入,不需要任何后端代码。可以在页面进行登录、查看、评论、点赞等操作,同时有完整的 Markdown / GFM 和代码高亮支持。尤为适合各种基于 GitHub Pages 的静态博客或项目页面。
相关文章推荐
- Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found. <a href="openFile:D:\Git
- 如果部署hexo时出现ERROR Deployer not found: Git
- gittalk Error: Validation Failed.
- 解决HEXO出现ERROR Deployer not found: git的问题
- hexo d后 ERROR Deployer not found: git
- 搭建 hexo,在执行 hexo deploy 后,出现 error deployer not found:git 的错误
- 【git】Error:Configuration with name 'default' not found.
- hexo d后 ERROR Deployer not found: git
- 2017 最新 ERROR Deployer not found: git hexo d 报错
- Module not found: Error: Cannot resolve 'file' or 'directory' ./cats.js in E:\Git\mmall_fe\src\page\
- checking for tgetent()... configure: error: NOT FOUND!
- git pull 时出现 error: Your local changes to the following files would be overwritten by merge的解决办法
- how to fix GIT error: object file is empty?
- Git提交数据失败 error: failed to push some refs to 'https://github.com/XXXXXXX/gif.git'
- Hi3531 ERROR:"mkimage" command not found - U-Boot images will not be built
- git error setting certificate verify locations
- Apache编译安装提示configure: error: APR not found错误解决方法
- 使用导入AndroidStudio导入Volley后报错:Error:Gradle DSL method not found: 'has()',的解决方式
- git 下载的太大的文件RPC failed; HTTP 504 curl 22 The requested URL returned error: 504 Gateway Time-out
- [Git] error: Your local changes to the following files would be overwritten by merge