Commit 0f812215 authored by Hugo Kerstens's avatar Hugo Kerstens
Browse files

Fix pagination styling and ordering

parent 1ab8c7bd
Pipeline #17482 passed with stages
in 58 seconds
......@@ -10,7 +10,9 @@
</p>
</a>
<% } %>
<%- item.excerpt || item.content %>
<div class="content">
<%- item.excerpt || item.content %>
</div>
<% if(item.excerpt) { %>
<a class="button" href="<%- config.root %><%- item.path %>">
<%= theme.excerpt_link %>
......
......@@ -10,5 +10,7 @@
</p>
<% } %>
<hr>
<%- item.content %>
<div class="content">
<%- item.content %>
</div>
</div>
\ No newline at end of file
......@@ -7,6 +7,9 @@
<% } else { %>
<a class="pagination-previous" disabled>Previous</a>
<% } %>
<ul class="pagination-list">
<li class="pagination-link">Page <%- page.current + ' of ' + page.total %></li>
</ul>
<% if (page.next) { %>
<a class="pagination-next"
href="<%- url_for(page.next_link) %>">
......@@ -15,7 +18,4 @@
<% } else { %>
<a class="pagination-next" disabled>Next</a>
<% } %>
<ul class="pagination-list">
<li class="pagination-link">Page <%- page.current + ' of ' + page.total %></li>
</ul>
</nav>
\ No newline at end of file
......@@ -8,9 +8,7 @@
<section class="section page-content">
<div class="container">
<div class="content">
<%- body %>
</div>
<%- body %>
</div>
</section>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment