mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
feat: aside ‘查看更多’按鈕 改為 圖標顯示在右上角
improvement: pangu 改為全站渲染
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
if theme.aside.card_archives.enable
|
||||
.card-widget.card-archives
|
||||
.item-headline
|
||||
i.fas.fa-archive
|
||||
span= _p('aside.card_archives')
|
||||
|
||||
- let type = theme.aside.card_archives.type || 'monthly'
|
||||
- let format = theme.aside.card_archives.format || 'MMMM YYYY'
|
||||
- let order = theme.aside.card_archives.order || -1
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
if theme.aside.card_categories.enable
|
||||
if site.categories.length
|
||||
.card-widget.card-categories
|
||||
.item-headline
|
||||
i.fas.fa-folder-open
|
||||
span= _p('aside.card_categories')
|
||||
!=aside_categories({ limit: theme.aside.card_categories.limit === 0 ? 0 : theme.aside.card_categories.limit || 8 , expand: theme.aside.card_categories.expand })
|
||||
|
||||
Reference in New Issue
Block a user