Support vendors.busuanzi config (#843)

Co-authored-by: Mimi <stevenjoezhang@gmail.com>
This commit is contained in:
xiaojianzheng 2024-11-03 16:37:23 +08:00 committed by GitHub
parent 3cddef0ab8
commit 4e6703bc1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 %}