Skip to content

Commit b0ed39c

Browse files
committed
vault backup: 2026-01-12 18:16:47
1 parent d525fd4 commit b0ed39c

2 files changed

Lines changed: 29 additions & 2 deletions

File tree

_config.butterfly.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,11 +1078,19 @@ css_prefix: true
10781078

10791079
# Inject
10801080
# Insert the code to head (before '</head>' tag) and the bottom (before '</body>' tag)
1081+
# inject:
1082+
# head:
1083+
# # - <link rel="stylesheet" href="/xxx.css">
1084+
# bottom:
1085+
# # - <script src="xxxx"></script>
1086+
1087+
# # _config.butterfly.yml
1088+
10811089
inject:
10821090
head:
1083-
# - <link rel="stylesheet" href="/xxx.css">
10841091
bottom:
1085-
# - <script src="xxxx"></script>
1092+
# 把下面这行加进去!注意缩进!替换 '你的Waline地址'
1093+
- <script type="module">import { init } from 'https://unpkg.com/@waline/client/v2/dist/waline.mjs'; init({ el: '#waline', serverURL: 'https://144.24.80.205.sslip.io', visitor: true });</script>
10861094

10871095
# CDN Settings
10881096
# Don't modify the following settings unless you know how they work
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
if theme.aside.card_webinfo.post_count
2+
.webinfo-item
3+
.item-name= _p('card_webinfo.post_count_name')
4+
.item-count= site.posts.length
5+
if theme.busuanzi.site_uv
6+
.webinfo-item
7+
.item-name= _p('card_webinfo.site_uv_name')
8+
.item-count.waline-site-uv
9+
i.fa-solid.fa-spinner.fa-spin
10+
if theme.busuanzi.site_pv
11+
.webinfo-item
12+
.item-name= _p('card_webinfo.site_pv_name')
13+
.item-count.waline-site-pv
14+
i.fa-solid.fa-spinner.fa-spin
15+
if theme.aside.card_webinfo.last_push_date
16+
.webinfo-item
17+
.item-name= _p('card_webinfo.last_push_date_name')
18+
.item-count#last-push-date(data-lastPushDate=date(Date.now(), config.date_format))
19+
i.fa-solid.fa-spinner.fa-spin

0 commit comments

Comments
 (0)