hexo/node_modules/hexo-theme-butterfly/layout/includes/widget/card_archives.pug

8 lines
436 B
Plaintext
Raw Normal View History

2023-10-03 11:14:36 +08:00
if theme.aside.card_archives.enable
.card-widget.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 })