hexo-theme-keep/layout/_partial/scripts.ejs

23 lines
389 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']) %>
<% } %>
<% } %>