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

23 lines
401 B
Plaintext
Raw Normal View History

2020-04-18 17:26:29 +08:00
<%- js([
'js/main.js',
'js/header-shrink.js',
'js/toggle-mode.js'
2020-04-18 17:26:29 +08:00
]) %>
2020-04-21 10:47:36 +08:00
<% if (theme.back2top.enable) { %>
<%- 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-28 23:20:17 +08:00
<% if (theme.toc.enable) { %>
2020-04-21 10:47:36 +08:00
<%- js(['lib/anime.min.js', 'js/toc.js']) %>
<% } %>
<% } %>