mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-17 04:40:53 +08:00
✨ feat: aside widget的Categories,Tags,post,Archives可配置limit ✨ feat: 整合公告欄配置到aside去 🐛 fix: 修復當flink.yml內容為空時,報錯的bug 💄 fix: 修復darkmode下 aside 查看更多文字顏色太淺的bug
12 lines
511 B
Plaintext
12 lines
511 B
Plaintext
.card-widget.card-archives
|
|
.card-content
|
|
.item-headline
|
|
i.fa.fa-archive(aria-hidden="true")
|
|
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
|
|
- let limit = theme.aside.card_archives.limit === 0 ? 0 : theme.aside.card_archives.limit || 8
|
|
!= aside_archives({ type:type, format: format, order: order, limit: limit })
|