23 lines
590 B

<h2>All Posts</h2>
<% page.posts.each(function(post) { %>
<article>
<div class="row">
<div class="three columns left lit">
<p class="bottom"><%- full_date(post.date, 'll') %></p>
</div>
<div class="nine columns left mb-3">
<a href="<%- url_for(post.path) %>" class="">
<% if (post.title == "") { %>
no title
<% } else { %>
<%- post.title %>
<% } %>
</a>
</div>
</div>
</article>
<% }) %>
<%- partial('partial/pagination', {type: 'page'}) %>