22 lines
406 B
Plaintext
22 lines
406 B
Plaintext
<%- js([
|
|
'js/main.js',
|
|
'js/header-shrink.js',
|
|
'js/toggle-mode.js'
|
|
]) %>
|
|
|
|
<% if (theme.back2top.enable) { %>
|
|
<%- js('js/scroll-to-top.js') %>
|
|
<% } %>
|
|
|
|
<% if (is_post()) { %>
|
|
|
|
<% if (theme.code_copy.enable) { %>
|
|
<%- js('js/code-copy.js') %>
|
|
<% } %>
|
|
|
|
<% if (theme.toc.enable) { %>
|
|
<%- js(['lib/anime.min.js', 'js/toc.js', 'js/post-toc.js']) %>
|
|
<% } %>
|
|
<% } %>
|
|
|