list.ejs 182 B

12345678
  1. <%
  2. page.posts.sort("date", "desc").each(function(post, i){
  3. if (page.prev == 0 && i < start) {
  4. return true;
  5. }
  6. %>
  7. <%- partial('post/item', {post: post}) %>
  8. <% }) %>