mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-17 04:40:53 +08:00
style: 部分css調整和html優化 improvements: 刪除pwa中的theme-color配置,默認生成meta theme-color close #340 improvements: 優化最後更新時間顯示(1小時內顯示 剛剛,1小時到24小時 顯示 xx小時前,1天到365天 顯示 xx天前,365天后直接顯示日期)
32 lines
1.3 KiB
Plaintext
32 lines
1.3 KiB
Plaintext
.card-widget.card-webinfo
|
|
.card-content
|
|
.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))
|
|
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
|
|
if theme.busuanzi.site_pv
|
|
.webinfo-item
|
|
.item-name= _p('aside.card_webinfo.site_pv_name') + " :"
|
|
.item-count#busuanzi_value_site_pv
|
|
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()))
|
|
|