2020-04-18 17:26:29 +08:00
|
|
|
<%- js([
|
2020-10-21 19:36:38 +08:00
|
|
|
'js/utils.js',
|
2020-04-18 17:26:29 +08:00
|
|
|
'js/header-shrink.js',
|
2020-10-21 19:36:38 +08:00
|
|
|
'js/dark-light-toggle.js',
|
|
|
|
'js/main.js'
|
2020-04-18 17:26:29 +08:00
|
|
|
]) %>
|
2020-04-21 10:47:36 +08:00
|
|
|
|
2020-04-25 21:45:45 +08:00
|
|
|
<% if (theme.back2top.enable) { %>
|
2020-10-21 19:36:38 +08:00
|
|
|
<%- js('js/back2top.js') %>
|
2020-04-25 21:45:45 +08:00
|
|
|
<% } %>
|
|
|
|
|
2020-04-21 10:47:36 +08:00
|
|
|
<% if (is_post()) { %>
|
|
|
|
|
2020-10-21 19:36:38 +08:00
|
|
|
<%- js('js/left-side-toggle.js') %>
|
|
|
|
|
2020-04-30 12:24:57 +08:00
|
|
|
<% if (theme.code_copy.enable) { %>
|
2020-04-21 10:47:36 +08:00
|
|
|
<%- js('js/code-copy.js') %>
|
|
|
|
<% } %>
|
|
|
|
|
2020-04-28 23:20:17 +08:00
|
|
|
<% if (theme.toc.enable) { %>
|
2020-10-21 19:36:38 +08:00
|
|
|
<%- js(['lib/anime.min.js', 'js/toc.js']) %>
|
2020-04-21 10:47:36 +08:00
|
|
|
<% } %>
|
|
|
|
<% } %>
|
|
|
|
|