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

20 lines
347 B
Plaintext

<%- js([
'js/main.js',
'js/header-shrink.js',
'js/toggle-mode.js',
'js/scroll-to-top.js'
]) %>
<% if (is_post()) { %>
<% if (theme.codeblock.copy_button.enable) { %>
<%- js('js/code-copy.js') %>
<% } %>
<% if (theme.toc.enable) { %>
<%- js(['lib/anime.min.js', 'js/toc.js']) %>
<% } %>
<% } %>