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

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

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()
})
}
}