Skip to content

Commit

Permalink
Support vendors.busuanzi config (#843)
Browse files Browse the repository at this point in the history
Co-authored-by: Mimi <stevenjoezhang@gmail.com>
  • Loading branch information
iamxiaojianzheng and stevenjoezhang authored Nov 3, 2024
1 parent 3cddef0 commit 4e6703b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions layout/_third-party/statistics/busuanzi-counter.njk
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{%- if theme.busuanzi_count.enable %}
{%- if theme.vendors.busuanzi %}
<script{{ pjax }} async src="{{ theme.vendors.busuanzi }}"></script>
{%- else %}
<script{{ pjax }} async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
{%- endif %}
{%- endif %}

0 comments on commit 4e6703b

Please sign in to comment.