Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Access statistics Js Address &Fix Gitment Error #37

Merged
merged 2 commits into from
Nov 29, 2018

Conversation

lovemikusama
Copy link
Contributor

@lovemikusama lovemikusama commented Nov 28, 2018

Update Access statistics Js Address

“不蒜子”访问量统计地址已经迁移:busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js

关于Gitment的问题

#24 中报错修复:添加一个div id为comments

Gitment还有2个无法正常的问题(未修复),更改法见下面:

miho/layout/_partial/plugins/comments/gitment.ejs中gitment.browser.js地址更改为
<script src="//jjeejj.github.io/js/gitment.js"></script>
gitment配置owner前添加
id: '<%= page.title %>',

不更改js地址则会出现[object ProgressEvent]错误,因为gitment作者提供的CORS header 的服务已经停了,参考https://github.com/imsun/gitment/issues/170 ,所以更改为别人提供的js就可以正常使用。

gitment的id默认使用链接,会超过50字符,会报错Error: Validation Failed,改成标题就好了。

@WongMinHo WongMinHo merged commit d7486d7 into WongMinHo:master Nov 29, 2018
@WongMinHo
Copy link
Owner

谢谢你的贡献~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants