forked from deepStateMirrors/tabi
♻️ refactor: use consistent pagination
This commit is contained in:
parent
6938ae42f9
commit
a8e49cfedf
4 changed files with 46 additions and 39 deletions
|
@ -18,18 +18,6 @@
|
|||
</main>
|
||||
|
||||
{% if paginator %}
|
||||
<div class="pagination">
|
||||
{% if paginator.previous %}
|
||||
<span class="page-item page-prev">
|
||||
<a href={{ paginator.previous }} class="page-link" aria-label="Previous"><span aria-hidden="true">← Prev</span></a>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
{% if paginator.next %}
|
||||
<span class="page-item page-next">
|
||||
<a href={{ paginator.next }} class="page-link" aria-label="Next"><span aria-hidden="true">Next →</span></a>
|
||||
</span>
|
||||
{% endif %}
|
||||
</div>
|
||||
{{ macros_paginate::paginate() }}
|
||||
{% endif %}
|
||||
{% endblock main_content %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue