This commit is contained in:
Jerry
2023-12-29 23:01:58 +08:00
Unverified
parent 63fb690d02
commit 6a99a80758
10 changed files with 45 additions and 27 deletions

View File

@@ -3,7 +3,7 @@ if theme.aside.card_post_series.enable
.card-widget.card-post-series
.item-headline
i.fa-solid.fa-layer-group
span= _p('aside.card_post_series')
span= theme.aside.card_post_series.series_title ? page.series : _p('aside.card_post_series')
.aside-list
each item in array[page.series]
- const { path, title = _p('no_title'), cover, cover_type, date:dateA } = item

View File

@@ -1,5 +1,5 @@
- let tocNumber = page.toc_number !== undefined ? page.toc_number : theme.toc.number
- let tocExpand = page.toc_expand !== undefined ? page.toc_expand : theme.toc.expand
- let tocNumber = typeof page.toc_number === 'boolean' ? page.toc_number : theme.toc.number
- let tocExpand = typeof page.toc_expand === 'boolean' ? page.toc_expand : theme.toc.expand
- let tocExpandClass = tocExpand ? 'is-expand' : ''
#card-toc.card-widget