16 lines
485 B
HTML
16 lines
485 B
HTML
|
{% macro paginator_nav(paginator) %}
|
||
|
|
||
|
<nav>
|
||
|
<p>
|
||
|
{% if paginator.previous %}
|
||
|
<a href="{{ paginator.previous }}">« Previous</a> |
|
||
|
{% endif %}
|
||
|
<span>Page {{ paginator.current_index }} of {{ paginator.number_pagers }}</span>
|
||
|
{% if paginator.next %}
|
||
|
| <a href="{{ paginator.next }}">Next »</a>
|
||
|
{% endif %}
|
||
|
</p>
|
||
|
</nav>
|
||
|
|
||
|
{% endmacro paginator_nav %}
|