mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 17:50:54 +08:00
minor adjustments
This commit is contained in:
@@ -62,11 +62,9 @@ div
|
||||
|
||||
!=partial('includes/third-party/search/index', {}, {cache: true})
|
||||
|
||||
if theme.abcjs.enable
|
||||
if theme.abcjs && theme.abcjs.enable
|
||||
if theme.abcjs.per_page
|
||||
if is_post() || is_page()
|
||||
script(src=url_for(theme.asset.abcjs_basic_js))
|
||||
include ./third-party/abcjs.pug
|
||||
else if page.abcjs
|
||||
script(src=url_for(theme.asset.abcjs_basic_js))
|
||||
include ./third-party/abcjs.pug
|
||||
|
||||
Reference in New Issue
Block a user