% if(theme.materialcdn.use === true) { %>
<%- jsLsload({path:(theme.materialcdn.base + '/js/lazyload.min.js'),key:'js/lazyload.min.js'}) %>
<%- jsLsload({path:(theme.materialcdn.base + '/js/js.min.js'),key:'js/js.min.js'}) %>
<%}else{%>
<%- jsLsload('js/lazyload.min.js') %>
<%- jsLsload('js/js.min.js') %>
<%}%>
<%- partial('_widget/nprogress') %>
<% if( theme.js_effect.smoothscroll === true ) { %>
<% if(theme.materialcdn.use === true) { %>
<%- jsLsload({path:(theme.materialcdn.base + '/js/smoothscroll.js'),key:'js/smoothscroll.js'}) %>
<%}else{%>
<%- jsLsload('js/smoothscroll.js') %>
<%}%>
<% } %>
<%- partial('_partial/footer-option') %>
<% if( (page.current === 1) && (is_home()) ) { %>
<% if( theme.search.use === 'swiftype' ) { %>
<%- partial('_widget/search-swiftype-js') %>
<% } %>
<% if( theme.search.use === 'local' ) { %>
<%- partial('_widget/search-local-js') %>
<% } %>
<% } %>
<% if (page.mathjax) { %>
<%- partial('_widget/mathjax') %>
<% } %>
<% if(theme.background.bing.enable) { %>
<% } %>