blog.ejs 697 B

12345678910111213141516171819202122
  1. <div class="container bottom-spacer">
  2. <div class="row up-spacer">
  3. <div class="col-12">
  4. <h1 class="display-3">
  5. Blog
  6. <small class="text-muted">(<%= blog_count(site.posts) %>)</small>
  7. </h1>
  8. <hr>
  9. </div>
  10. </div>
  11. <div class="row">
  12. <% site.posts.each(function(post){ %>
  13. <% if(post.layout == "post") { %>
  14. <div class="col-3">
  15. <%- partial('_partial/content-thumbnail', {post: post, index: true}) %>
  16. </div>
  17. <% } %>
  18. <% }) %>
  19. </div>
  20. </div>
  21. <%- partial('_partial/about-author') %>
  22. <%- partial('_partial/contact-form') %>