This commit is contained in:
hwy0127@gmail.com committed 2019-06-17 21:25:18 +08:00
1 parent 79971d49db
commit 5a3363e0e4
37 files changed
+2955 -418

No files matched your search

+9 -2
View File
@@ -9,6 +9,9 @@ if (theme.katex && theme.katex.enable)
if (theme.local_search && theme.local_search.enable)
script(async src=url_for('/js/search/local-search.js'))
if theme.fireworks && theme.fireworks.enable
script(src='https://cdn.jsdelivr.net/npm/animejs@latest/anime.min.js')
script(src=url_for('/js/third-party/fireworks.js'))
if theme.nightshift.enable
script(src=url_for('js/nightshift.js'))
@@ -19,6 +22,9 @@ if (theme.canvas_ribbon && theme.canvas_ribbon.enable)
if (theme.canvas_ribbon_piao && theme.canvas_ribbon_piao.enable)
include ./third-party/canvas-ribbon-piao.pug
if theme.baidu_push && theme.baidu_push.enable
script(src=url_for('js/baidupush.js'))
if theme.activate_power_mode.enable
script(src=url_for('js/activate-power-mode.js'))
script.
@@ -79,6 +85,7 @@ if is_home()
}
})
script(async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js")
if theme.busuanzi.site_uv || theme.busuanzi.site_pv || theme.busuanzi.page_pv
script(async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js")
script(src="https://cdn.jsdelivr.net/npm/instant.page@1.2.2/instantpage.min.js" type="module")
+1 -1
View File
@@ -65,5 +65,5 @@ if theme.valine && theme.valine.enable
guest_info:guest_info,
pageSize:'#{theme.valine.pageSize}',
lang:'#{theme.valine.lang}',
visitor: true
recordIP: true
});
+4 -2
View File
@@ -26,7 +26,7 @@
}
})
}
var translate = 'undefined';
if (theme.translate && theme.translate.enable){
var defaultEncoding;
translate = JSON.stringify({
@@ -58,7 +58,9 @@ script.
title: '!{_p("bookmark.title")}',
message_prev: '!{_p("bookmark.message_prev")}',
message_next: '!{_p("bookmark.message_next")}'
}
},
runtime_unit: '!{_p("runtime_unit")}'
}
Loaded 3 of 37 files, more files were not shown because too many files have changed in this diff. Show more