You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
590 B

2 years ago
  1. <h2>All Posts</h2>
  2. <% page.posts.each(function(post) { %>
  3. <article>
  4. <div class="row">
  5. <div class="three columns left lit">
  6. <p class="bottom"><%- full_date(post.date, 'll') %></p>
  7. </div>
  8. <div class="nine columns left mb-3">
  9. <a href="<%- url_for(post.path) %>" class="">
  10. <% if (post.title == "") { %>
  11. no title
  12. <% } else { %>
  13. <%- post.title %>
  14. <% } %>
  15. </a>
  16. </div>
  17. </div>
  18. </article>
  19. <% }) %>
  20. <%- partial('partial/pagination', {type: 'page'}) %>