Cleanup of the code

This commit is contained in:
Bashy 2025-11-21 09:09:26 +01:00
parent 6074b9c152
commit 4f65db4bce
13 changed files with 120 additions and 146 deletions

View file

@ -1,14 +1,5 @@
<div class="narrow_view">
<% site.posts.sort('-date').forEach(function(post) { %>
<%- include('_partial/post_feed',
{ post: post,
<%- include("_partial/feed",
{ item: page.posts.sort('-date'),
source: "archive"
}) %>
<% }); %>
<div class="pagination">
<% if (page.next) { %>
<a href="<%- url_for(page.next_link) %>"></a>
<% } %>
</div>
</div>
}
)%>