hexo-theme-concise
hexo-theme-concise copied to clipboard
GitTalk问题
comment.ejs中body: <%- JSON.stringify(post.permalink) %>, 这个连接为什么我生成的连接是http://chinabosh.github.com/2019/07/31/monkey/这样子的,而不是连接到博客的地址 以下是我的配置 git_commit: enable: true client_id: *** client_secret: *** repo: chinabosh.github.io owner: chinabosh admin: - chinabosh per_page: 10
没发现有问题啊
我想我找到原因了! 这是我原来在hexo根目录_config.yml配置
URL
If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/'
url: https://chinabosh.github.com root: / permalink: :year/:month/:day/:title/ permalink_defaults:
把url改成https://chinabosh.github.io后,gitTalk生成的地址就对了,就是不知道有没有其他影响!
Hi Sanonz, 谢谢你的模板教程,我的博客已经搭建了,但有个问题关于Gitalk评论功能要请教,为什么我的评论设置好后会有“Error: Validation Failed.”错误信息那,而且只有长标题的文章有,短的没有,请问你是用什么办法解决这个问题的?再次感谢了!