31 lines
622 B
Plaintext
31 lines
622 B
Plaintext
<%- js([
|
|
'js/utils.js',
|
|
'js/header-shrink.js',
|
|
'js/main.js'
|
|
]) %>
|
|
|
|
<% if (theme.side_tools.enable) { %>
|
|
<%- js('js/dark-light-toggle.js') %>
|
|
|
|
<% if (theme.back2top.enable) { %>
|
|
<%- js('js/back2top.js') %>
|
|
<% } %>
|
|
<% } %>
|
|
|
|
<% if (theme.local_search.enable && config.search) { %>
|
|
<%- js('js/local-search.js') %>
|
|
<% } %>
|
|
|
|
<% if (is_post()) { %>
|
|
|
|
<%- js('js/left-side-toggle.js') %>
|
|
|
|
<% if (theme.code_copy.enable ) { %>
|
|
<%- js('js/code-copy.js') %>
|
|
<% } %>
|
|
|
|
<% if (theme.toc.enable) { %>
|
|
<%- js(['js/libs/anime.min.js', 'js/toc.js']) %>
|
|
<% } %>
|
|
<% } %>
|