提升highlight-tool的加載速度

 可設置取消谷歌自動廣告代碼加載
🐛 修復pjax下側邊欄分類打開/收縮按鈕 直接跳轉的bugs
🐛 修復代碼塊向右偏移的bugs
🐛 修復子目錄下,404頁面的回到首頁鏈接錯誤的bugs
This commit is contained in:
Jerry
2020-07-20 22:21:05 +08:00
parent 4f64768011
commit 5ee7976c4a
10 changed files with 88 additions and 99 deletions

View File

@@ -83,7 +83,7 @@ div
else if commentsJsLoad
!=partial('includes/comments/js-load-all', {}, {cache:theme.fragment_cache})
if theme.aplayerInject
if theme.aplayerInject && !config.aplayer.asset_inject
if theme.pjax
include ./head/aplayer.pug
else if page.aplayer