2019-12-03 11:37:44 +00:00
|
|
|
<%- js('/js/jquery-2.0.3.min') %>
|
|
|
|
<%- js('/js/jquery.justifiedGallery.min') %>
|
|
|
|
<%- js('/js/lazyload.min') %>
|
|
|
|
<%- js('/js/busuanzi-2.3.pure.min') %>
|
|
|
|
<% if (theme.fancybox){ %>
|
|
|
|
<%- js('fancybox/jquery.fancybox.min') %>
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
<% if (theme.toc && is_post()){ %>
|
|
|
|
<%- js('/js/tocbot.min') %>
|
|
|
|
<script>
|
|
|
|
// Tocbot_v4.7.0 http://tscanlin.github.io/tocbot/
|
|
|
|
tocbot.init({
|
|
|
|
tocSelector: '.tocbot',
|
|
|
|
contentSelector: '.article-entry',
|
|
|
|
headingSelector: 'h1, h2, h3, h4, h5, h6',
|
|
|
|
hasInnerContainers: true,
|
|
|
|
scrollSmooth: true,
|
|
|
|
positionFixedSelector: '.tocbot',
|
|
|
|
positionFixedClass: 'is-position-fixed',
|
|
|
|
fixedSidebarOffset: 'auto',
|
2020-01-07 05:12:44 +00:00
|
|
|
onClick: (e) => {
|
|
|
|
document.getElementById(e.target.innerText).scrollIntoView()
|
|
|
|
return false;
|
|
|
|
}
|
2019-12-03 11:37:44 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var ayerConfig = {
|
|
|
|
mathjax: <%=theme.mathjax %>
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<%- js('js/ayer') %>
|
|
|
|
|
2019-12-16 15:48:13 +00:00
|
|
|
<script src="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.js"></script>
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jquery-modal@0.9.2/jquery.modal.min.css">
|
|
|
|
|
2019-12-03 11:37:44 +00:00
|
|
|
<% if (theme.mathjax){ %>
|
|
|
|
<%- partial('mathjax') %>
|
|
|
|
<% } %>
|
2019-12-17 11:31:00 +00:00
|
|
|
|
|
|
|
<script type="text/javascript" src="https://js.users.51.la/20544303.js"></script>
|
|
|
|
|
2020-01-07 05:12:44 +00:00
|
|
|
|