'> <% if (site.posts && site.posts.length > 0) { %>
<% site.posts.sort(page.sort ? page.sort : "-date").each(function(p){ %> <% if (p.type == page.type) { %>
<%- partial('_partial/post', {post: p, index: false}) %>
<% } %> <% }) %>
<% if (page && page.posts) { %> <% var need_mathjax = false; page.posts.each(function(post){ if (post.mathjax){ if (post.mathjax != "internal") { need_mathjax = true; } } }); %> <% if (need_mathjax){ %> <%- partial('mathjax') %> <% } %> <% } %> <% } %>
<%- partial('_partial/side') %> <%- partial('_partial/footer', null, {cache: !config.relative_link}) %>