diff --git a/package/hexo-theme-async/layout/_third-party/plugin.ejs b/package/hexo-theme-async/layout/_third-party/plugin.ejs index cc7f1b3d..0a44f51b 100644 --- a/package/hexo-theme-async/layout/_third-party/plugin.ejs +++ b/package/hexo-theme-async/layout/_third-party/plugin.ejs @@ -57,7 +57,7 @@ isSearch = theme.search.enable && theme.search.type === 'local' %> <%- js({src: theme.assets.plugin.katex.js,'data-swup-reload-script': true }) %> <% if(theme.katex.copy_tex) {%> - <%- js({src: theme.assets.plugin.katex.copy_tex.js,'data-swup-reload-script': true }) %> + <%- js({src: theme.assets.plugin.katex.copy_tex,'data-swup-reload-script': true }) %> <% } %> <%- js({src: theme.assets.plugin.katex.auto_render,'data-swup-reload-script': true }) %>