{% macro listArticles(objIt) -%} {% for art in objIt %}

Par {% for author in art.authors %} {{ author }} {% endfor %} dans {{ art.category }} le {{ art.date.strftime('%d/%m/%Y') }}.

{{ art.title }}

{% for tag in art.tags %} {{ tag }} {% endfor %}
{% endif %}
{% endfor %} {%- endmacro %} {% macro paginationArt(prev, next) -%}
{% if prev is not none %}

Articles récents

{% endif %} {% if next is not none %}

Ancients articles

{% endif %}
{%- endmacro %}