hugo-fixit / FixIt

🔧 A clean, elegant but advanced blog theme for Hugo 一个简洁、优雅且高效的 Hugo 主题
https://fixit.lruihao.cn
MIT License
646 stars 96 forks source link

refactor busuanzi #472

Closed Lruihao closed 1 month ago

Lruihao commented 1 month ago

TODO list

Why do this?

不蒜子是一个很好的网站计数器,但是它的缺点也很明显:

[^1]: 不蒜子在 Safari 中计数异常

How to upgrade?

移除 params.ibruce 配置,新增 params.busuanzi 配置,格式如下:

# FixIt 0.3.10 | NEW Busuanzi count
[params.busuanzi]
  # whether to enable busuanzi count
  enable = false
  # busuanzi count core script source. Default is https://vercount.one/js
  source = "https://vercount.one/js"
  # whether to show the site views
  siteViews = true
  # whether to show the page views
  pageViews = true