|
|
@ -34,3 +34,11 @@
|
|
|
|
{{ self::page_info(page=page) }}
|
|
|
|
{{ self::page_info(page=page) }}
|
|
|
|
</article>
|
|
|
|
</article>
|
|
|
|
{% endmacro list_articles %}
|
|
|
|
{% endmacro list_articles %}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% macro pagination(paginator) %}
|
|
|
|
|
|
|
|
<div class="pagination">
|
|
|
|
|
|
|
|
{% if paginator.previous %}<a href="{{ paginator.previous }}">«</a>{% endif %}
|
|
|
|
|
|
|
|
<span class="currentpage">{{ paginator.current_index }} / {{ paginator.number_pagers }}</span>
|
|
|
|
|
|
|
|
{% if paginator.next %}<a href="{{ paginator.next }}">»</a>{% endif %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endmacro pagination %}
|
|
|
|