Skip to content

Commit

Permalink
BREAKING CHANGE: update bsz.js version
Browse files Browse the repository at this point in the history
  • Loading branch information
penndu committed Nov 18, 2024
1 parent 207fd08 commit be35812
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion _cdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ comment_typing:
busuanzi:
name: penndu
file: bsz.js
version: 13.0.0
version: 16.0.0
npm: true
static: true
cdnjs: false
Expand Down
6 changes: 3 additions & 3 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ cdn_system:
system_config:
# 自定义配置 使用 "theme/_cdn.yml" 中的名称作为配置项的键
custom:
busuanzi: https://npm.elemecdn.com/penndu@1.0.0/bsz.js # 杜老师友情赞助
busuanzi: https://npm.onmicrosoft.cn/penndu@16.0.0/bsz.js # 杜老师友情赞助
#volantis_style: /css/style.css
#volantis_app: /js/app.js

Expand Down Expand Up @@ -731,8 +731,8 @@ site_footer:
source: https://github.com/volantis-x/volantis-docs/
# analytics using busuanzi
analytics: >
<span>本站总访问量为 <span id='busuanzi_value_site_pv'><i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i></span> 次</span>
<span>访客数为 <span id='busuanzi_value_site_uv'><i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i></span> 人</span>
<span>本站总访问量为 <span id='busuanzi_site_pv'><i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i></span> 次</span>
<span>访客数为 <span id='busuanzi_site_uv'><i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i></span> 人</span>
# site copyright
copyright: '[Copyright © since 2017 XXX](/)'
# You can add your own property here. (Support markdown, for example: br: '<br>')
Expand Down
2 changes: 1 addition & 1 deletion layout/_meta/counter.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<i class="fa-light fa-loader fa-spin fa-fw" aria-hidden="true"></i>
</span>
<% } else if (theme.plugins.busuanzi.enable) { %>
<span id="busuanzi_value_page_pv">
<span id="busuanzi_page_pv">
<i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i>
</span>
<% } %>
Expand Down
2 changes: 1 addition & 1 deletion layout/_partial/footer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<%- __('footer.use') %>
<a href="https://github.com/volantis-x/hexo-theme-volantis/#<%- theme_version %>" target="_blank" class="codename">Volantis</a>
<%- __('footer.theme') %><% if (theme.plugins.busuanzi.enable) { %><%- __('symbol.comma') %><%- __('footer.total_views') %>
<span id="busuanzi_value_site_pv"><i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i></span>
<span id="busuanzi_site_pv"><i class="fa-solid fa-loader fa-spin fa-fw" aria-hidden="true"></i></span>
<%- __('footer.times') %>
<% } %>
<% } else if (item == 'source') { %>
Expand Down
4 changes: 2 additions & 2 deletions layout/_widget/webinfo.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div class="webinfo-item">
<div><%= item.type.visitcounter.siteuv.text %></div>
<div>
<span id="busuanzi_value_site_uv">
<span id="busuanzi_site_uv">
<i class="fa-solid fa-fan fa-spin fa-fw" aria-hidden="true"></i>
</span>
<%= item.type.visitcounter.siteuv.unit %>
Expand All @@ -38,7 +38,7 @@
<div class="webinfo-item">
<div><%= item.type.visitcounter.sitepv.text %></div>
<div>
<span id="busuanzi_value_site_pv">
<span id="busuanzi_site_pv">
<i class="fa-solid fa-fan fa-spin fa-fw" aria-hidden="true"></i>
</span>
<%= item.type.visitcounter.sitepv.unit %>
Expand Down

0 comments on commit be35812

Please sign in to comment.