在next主题6以上的版本的配置文件_config.yml中,有1
2
3
4
5
6
7
8busuanzi_count:
enable: false
total_visitors: true
total_visitors_icon: user
total_views: true
total_views_icon: eye
post_views: true
post_views_icon: eye
参数。
将其中的enable 参数改成true即可。
在本地测试环境数值会很大,部署到线上就正常了。