feat: aside ‘查看更多’按鈕 改為 圖標顯示在右上角

improvement: pangu 改為全站渲染
This commit is contained in:
Jerry committed 2021-01-10 22:26:18 +08:00
1 parent 0eac648267
commit a1f86a1573
7 files changed
+35 -35

No files matched your search

+2 -2
View File
@@ -1,10 +1,10 @@
script.
function panguFn () {
if (typeof pangu === 'object') pangu.spacingElementById('body-wrap')
if (typeof pangu === 'object') pangu.autoSpacingPage()
else {
getScript('!{url_for(theme.CDN.pangu)}')
.then(() => {
pangu.spacingElementById('body-wrap')
pangu.autoSpacingPage()
})
}
}
-4
View File
@@ -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 })
Loaded 3 of 7 files, more files were not shown because too many files have changed in this diff. Show more