-
Notifications
You must be signed in to change notification settings - Fork 245
Closed
Description
问题:
首先声明一下我前端无能~~
然后是参照你的博客主页,也想把index页面每篇博客的阅读量都统计显示在index页面,然后努力试着理解我的博客的index.html源码并改写,最终实现的情况如图:

是不是index.html里还需要加些别的东西,不只是单单引入下面这几行:
<!-- 显示每篇博客阅读量, id 将作为查询条件 -->
<span id={{post.url}} class="leancloud-visitors" data-flag-title={{post.title}}>
<span class="post-meta-divider">|</span>
<span class="post-meta-item-text">阅读量 </span>
<span class="leancloud-visitors-count"></span>
</span>以及,应该改成什么样子?
致礼!
-
参考:
我的博客: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?

Reactions are currently unavailable
