- 添加站点访问量
- 添加文章访问量
不蒜子是用来统计网站访问量的一个JavaScript库
添加站点访问量
1 2 3 4
| <script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script> <span id="busuanzi_container_site_pv">本站总访问量<span id="busuanzi_value_site_pv"></span>次</span> <span class="post-meta-divider">|</span> <span id="busuanzi_container_site_uv">本站访客数<span id="busuanzi_value_site_uv"></span>人</span>
|
添加文章访问量
1 2 3
| <span id="busuanzi_container_page_pv" style='display:none' class="<%= class_name %>"> <i class="icon-smile icon"></i> 阅读数:<span id="busuanzi_value_page_pv"></span>次 </span>
|