You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
475 B
16 lines
475 B
1 year ago
|
{% macro render_pagination(pagination) %}
|
||
|
<div class="pagination">
|
||
|
{% if pagination.has_prev %}
|
||
|
<a href="{{ pagination.prev|url }}">« Previous</a>
|
||
|
{% else %}
|
||
|
<span class="disabled">« Previous</span>
|
||
|
{% endif %}
|
||
|
| {{ pagination.page }} |
|
||
|
{% if pagination.has_next %}
|
||
|
<a href="{{ pagination.next|url }}">Next »</a>
|
||
|
{% else %}
|
||
|
<span class="disabled">Next »</span>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
{% endmacro %}
|