Pagination
Sunday, 01 January 2023 - ⧖ 1 minYes! we have pagination!
Set pagination: 10
on your marmite.yaml
The pagination template is very simple
<div class="pagination">
<nav>
<ul>
{% if previous_page %}
<li><a href="{{previous_page}}"><strong>←</strong></a></li>
{% endif %}
</ul>
<ul>
<li><small>{{current_page_number}}/{{total_pages}}</small></li>
</ul>
<ul>
{% if next_page %}
<li><a href="{{next_page}}"><strong>→</strong></a></li>
{% endif %}
</ul>
</nav>
</div>
Please consider giving a ☆ on Marmite Github repository, that helps a lot!