% if (is_tag()) { %> <% } else if (is_archive()) { %> <% } else if (is_category()) { %> <% } %> <% if (page.prev == 0) { %> <% site.posts.each(function(post){ %> <% if (post.top) { %> <%- partial('post', {post: post}) %> <% } %> <% }) %> <% } %> <% page.posts.each(function(post){ %> <% if (!post.top) { %> <%- partial('post', {post: post}) %> <% } %> <% }) %> <% if (page.total > 1) { %>
<%= page.current%> / <%= page.total%>