評論增加lazyload

 頭像/打賞圖片 增加lazyload
 調整移動端 ol ul 的邊距 #267
🐛 修復Valine 的requiredFields設置為空 無效的bugs
This commit is contained in:
Jerry
2020-07-26 15:33:47 +08:00
parent d5cf43a6b4
commit d2943bbbb1
26 changed files with 176 additions and 161 deletions

View File

@@ -43,10 +43,10 @@ div
//- 鼠標特效
if theme.click_heart
script(src=url_for(theme.CDN.click_heart))
script(src=url_for(theme.CDN.click_heart) async)
if theme.ClickShowText && theme.ClickShowText.enable
script(src=url_for(theme.CDN.ClickShowText))
script(src=url_for(theme.CDN.ClickShowText) async)
if theme.pangu && theme.pangu.enable
include ./third-party/pangu.pug
@@ -76,11 +76,6 @@ div
if theme.busuanzi.site_uv || theme.busuanzi.site_pv || theme.busuanzi.page_pv
script(async src=url_for(theme.CDN.busuanzi))
if theme.pjax && theme.comments && theme.comments.use
!=partial('includes/comments/js-load-all', {}, {cache:theme.fragment_cache})
else if commentsJsLoad
!=partial('includes/comments/js-load-all', {}, {cache:theme.fragment_cache})
if theme.aplayerInject && !config.aplayer.asset_inject
if theme.pjax
include ./head/aplayer.pug