-
Notifications
You must be signed in to change notification settings - Fork 252
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
如何在jekyll博客的index.html页面显示所有博客的阅读量统计结果? #136
Comments
因为你没有在首页初始化Valine啊:
|
@xCss 谢谢,已解决。 |
solved,now close it. |
我的博客主页:oukohou,然后发现首页的阅读统计量全部为0了,而点进去每个页面是可以正确统计阅读量的,请问是什么原因?谢谢~~ |
@oukohou 首页只需要一个 |
oukohou
added a commit
to oukohou/oukohou.github.io
that referenced
this issue
Aug 27, 2019
…for details. Signed-off-by: oukohou <[email protected]>
@xCss 已经修改为只有一个 |
@oukohou OK,感谢反馈,已复现BUG,将在下个版本修复。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题:
首先声明一下我前端无能~~
然后是参照你的博客主页,也想把index页面每篇博客的阅读量都统计显示在index页面,然后努力试着理解我的博客的index.html源码并改写,最终实现的情况如图:
![image](https://user-images.githubusercontent.com/16237619/49570685-468c7c00-f972-11e8-91ef-0d8fb6581891.png)
只显示了阅读量三个字,不像每一篇博文里还会显示数字结果:
![image](https://user-images.githubusercontent.com/16237619/49570731-6ae85880-f972-11e8-8471-a87af039f27b.png)
是不是index.html里还需要加些别的东西,不只是单单引入下面这几行:
以及,应该改成什么样子?
致礼!
参考:
我的博客:oukohou
我的博客的repo:https://github.com/oukohou/oukohou.github.io
The steps to reproduce.
我的博客的index.html页面源码(很短,加上无效行数才58行):
https://github.com/oukohou/oukohou.github.io/blob/master/index.html
A minimal demo of the problem via https://jsfiddle.net or http://codepen.io/pen if possible.
not sure what and how?
Which versions of Valine, and which browser / OS are affected by this issue?
![image](https://user-images.githubusercontent.com/16237619/49570517-cebe5180-f971-11e8-9a1a-cfabe65b0a69.png)
The text was updated successfully, but these errors were encountered: