mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 17:30:53 +08:00
feat: tag 和 category 頁面可設置隱藏 aside feat: 子歸檔頁面顯示的文章數量不再顯示總文章數量,而是對應的子歸檔文章數量 feat: 為一些數據加載增加 loading 顯示 improvement: 修改 note 圖標 class 名字,避免第三方圖標覆蓋主題樣式
36 lines
1.4 KiB
Plaintext
36 lines
1.4 KiB
Plaintext
if theme.aside.card_webinfo.enable
|
|
.card-widget.card-webinfo
|
|
.item-headline
|
|
i.fas.fa-chart-line
|
|
span= _p('aside.card_webinfo.headline')
|
|
.webinfo
|
|
if theme.aside.card_webinfo.post_count
|
|
.webinfo-item
|
|
.item-name= _p('aside.card_webinfo.article_name') + " :"
|
|
.item-count= site.posts.length
|
|
if theme.runtimeshow.enable
|
|
.webinfo-item
|
|
.item-name= _p('aside.card_webinfo.runtime.name') + " :"
|
|
.item-count#runtimeshow(data-publishDate=date_xml(theme.runtimeshow.publish_date))
|
|
i.fa-solid.fa-spinner.fa-spin
|
|
if theme.wordcount.enable && theme.wordcount.total_wordcount
|
|
.webinfo-item
|
|
.item-name=_p('aside.card_webinfo.site_wordcount') + " :"
|
|
.item-count=totalcount(site)
|
|
if theme.busuanzi.site_uv
|
|
.webinfo-item
|
|
.item-name= _p('aside.card_webinfo.site_uv_name') + " :"
|
|
.item-count#busuanzi_value_site_uv
|
|
i.fa-solid.fa-spinner.fa-spin
|
|
if theme.busuanzi.site_pv
|
|
.webinfo-item
|
|
.item-name= _p('aside.card_webinfo.site_pv_name') + " :"
|
|
.item-count#busuanzi_value_site_pv
|
|
i.fa-solid.fa-spinner.fa-spin
|
|
if theme.aside.card_webinfo.last_push_date
|
|
.webinfo-item
|
|
.item-name= _p('aside.card_webinfo.last_push_date.name') + " :"
|
|
.item-count#last-push-date(data-lastPushDate=date_xml(Date.now()))
|
|
i.fa-solid.fa-spinner.fa-spin
|
|
|