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

你好,主题很漂亮,有个问题,谢谢 #6

Open
yu520zhong opened this issue Sep 20, 2017 · 1 comment
Open

你好,主题很漂亮,有个问题,谢谢 #6

yu520zhong opened this issue Sep 20, 2017 · 1 comment

Comments

@yu520zhong
Copy link

你好,为什么我的主页的文章列表的访问次数都是0次,详情页是正常的显示,不知道统计的 js 应该加在哪个位置,才能让主页的访问次数正确,谢谢

@Bulandent
Copy link
Owner

需要给对应的文章设置一个唯一标识符,比如我用的是文章的全链接。比如我的是这样设置的:
data-hk-page="http://bubuzou.com/2017/08/traverse-of-array-like/"

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

No branches or pull requests

2 participants