Skip to content

Commit

Permalink
Made pagination visible on the Archive pages (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHumphries authored Dec 24, 2024
1 parent e7b1861 commit c3474d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions layout/_partial/archive.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ if (page.archive){
<%- partial('article', {item: item, index: true}) %>
<% }); %>
<%- partial('pagination') %>
<% } else { %>
<div class="archive">
<% page.posts.each(function(item){ %>
Expand All @@ -37,4 +36,6 @@ if (page.archive){
</article>
<% }); %>
</div>
<% } %>
<% } %>

<%- partial('pagination') %>

0 comments on commit c3474d9

Please sign in to comment.