2020-04-18 17:26:29 +08:00
|
|
|
<%- js([
|
|
|
|
'js/main.js',
|
|
|
|
'js/header-shrink.js',
|
|
|
|
'js/toggle-mode.js',
|
|
|
|
'js/scroll-to-top.js'
|
|
|
|
]) %>
|
2020-04-21 10:47:36 +08:00
|
|
|
|
|
|
|
<% if (is_post()) { %>
|
|
|
|
|
|
|
|
<% if (theme.codeblock.copy_button.enable) { %>
|
|
|
|
<%- js('js/code-copy.js') %>
|
|
|
|
<% } %>
|
|
|
|
|
2020-04-24 22:49:10 +08:00
|
|
|
<% if (theme.toc.enable && theme.magic.enable && theme.magic.sidebar.enable) { %>
|
2020-04-21 10:47:36 +08:00
|
|
|
<%- js(['lib/anime.min.js', 'js/toc.js']) %>
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
<% } %>
|
|
|
|
|