# Show number of visitors to each article. # You can visit https://leancloud.cn get AppID and AppKey. leancloud_visitors: enable:true app_id:# your app-id app_key:# your app-key # Dependencies: https://github.com/theme-next/hexo-leancloud-counter-security # # If you don't care about security in lc counter and just want to use it directly # # (without hexo-leancloud-counter-security plugin), set the `security` to `false`. # security: true # betterPerformance: true
3 配置全局配置文件
打开全局配置文件,路径如下:your_blog/_config.yml,添加下面的代码:
1 2 3 4 5 6
leancloud_counter_security: enable_sync:true app_id:# your app-id app_key:# your app-key username:# your username password:# your password