jekyll页面不更新
- 在_post中添加了新文章,本地调试完全正常
- push之后,远程访问无法看到新添加的文章
- 在repository里可以看到更新,但在Contribution activity里无法看到更新
google到相关的问题,有提到可能由编码引起,但我先前的10多篇文章都包含大量中文,未引起任何问题
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
谢邀!
关于本地调试正常,远程访问看不到,一般原因是解析错误,所以无法发布。如果你验证邮箱,有问题,应该会收到github的报错邮件 。这个也许对你有帮助。
当时我也遇到过你的问题,但是我的问题主要是由于
Maruku
对代码部分的解析不够好,所以我用pre
和code
标签代替反引号,很是麻烦。关于中文编码问题,我的博客也包含大量中文,没遇到过什么问题。解析出错也可能和
Maruku
有关,Maruku
已经停止更新,jekyll已经打算更换默认md解析器,详情请戳这里。关于Contribution activity看不到更新,一般是由于git邮箱设置和你的github邮箱不一致,可以执行命令如下命令查看
git config user.email
。如果仍然无法解决,可以给github发邮件,他们回复还是挺及时的。
如果你git配置邮箱是你的github邮箱,看github 网站上的这么一段话话
如果满足以上条件,是会计数的。
我也是个git菜鸟,单纯感觉你更改用户名和仓库地址可能会有影响。你可以删除本地仓库,重新clone,push更新看看有没有计数。