mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 14:07:06 +08:00
fix: 修復 toc 在小設備上顯示出屏幕外的 bug fix: 修復在打賞按鈕周圍也會觸發打賞彈窗的 bug fix: Waline 最近評論的時間只顯示 "剛剛" 的問題 (以docker的方式執行) #730 fix: 修復點擊右下角顯示按鈕時,按鈕沒有出現的 bug remove: 移除 button 的 hover 效果
33 lines
1.2 KiB
Plaintext
33 lines
1.2 KiB
Plaintext
if theme.aside.card_author.enable
|
|
.card-widget.card-info
|
|
.is-center
|
|
.avatar-img
|
|
img(src=url_for(theme.avatar.img) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt="avatar")
|
|
.author-info__name= config.author
|
|
.author-info__description!= theme.aside.card_author.description || config.description
|
|
|
|
.card-info-data.is-center
|
|
.card-info-data-item
|
|
a(href=url_for(config.archive_dir) + '/')
|
|
.headline= _p('aside.articles')
|
|
.length-num= site.posts.length
|
|
|
|
.card-info-data-item
|
|
a(href=url_for(config.tag_dir) + '/')
|
|
.headline= _p('aside.tags')
|
|
.length-num= site.tags.length
|
|
|
|
.card-info-data-item
|
|
a(href=url_for(config.category_dir) + '/')
|
|
.headline= _p('aside.categories')
|
|
.length-num= site.categories.length
|
|
|
|
if theme.aside.card_author.button.enable
|
|
a#card-info-btn(href=theme.aside.card_author.button.link)
|
|
i(class=theme.aside.card_author.button.icon)
|
|
span=theme.aside.card_author.button.text
|
|
|
|
if(theme.social)
|
|
.card-info-social-icons.is-center
|
|
!=fragment_cache('social', function(){return partial('includes/header/social')})
|