% if (theme.scripts !== undefined && theme.scripts.length > 0) { %> <% theme.scripts.forEach(url => { %> <% }); %> <% } %> <% if (config.search && theme.local_search.enable) { %> <%- partial('partial/_search/local-searchjs', {cache: true}) %> <% } %> <% if(theme.lazyload.enable){ %> <%- partial('partial/_modify/lazyload', {cache: true}) %> <% } %> <% if(theme.fancybox.enable) { %> <%- partial('partial/_modify/fancybox', {cache: true}) %> <% } %> <% if(theme.mathjax.enable) { %> <%- partial('partial/_maths/mathjax', {cache: true}) %> <% } %> <% if(theme.mermaid.enable) { %> <%- partial('partial/_maths/mermaid', {cache: true}) %> <% } %> <% if(theme.reward.enable && is_post()) { %> <%- partial('partial/_modify/rewards/rewardjs', {cache: true}) %> <%} %> <% if(theme.audio.enable){ %> <%- partial('partial/_modify/audio', {cache:true}) %> <% } %> <% if(theme.instantpage.enable) { %> <% } %> <% if(theme.Click.firework){ %> <% } %> <% if(theme.copy.enable){ %> <%- partial('partial/_modify/copy', {cache:true}) %> <% } %>