mirror of
https://gitlab.com/OpenAlt/OpenAltRO/openalt_ro.git
synced 2026-11-23 15:19:15 +00:00
Cleanup of the code
This commit is contained in:
parent
6074b9c152
commit
4f65db4bce
13 changed files with 120 additions and 146 deletions
|
|
@ -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>
|
||||
}
|
||||
)%>
|
||||
Loading…
Add table
Add a link
Reference in a new issue