{% extends "base.html" %} {% import 'macros/card.html' as macro_card -%} {% block content %} {% for taxo in terms %}
{{ taxo.name }} {% for page in taxo.pages %} {% if loop.index0 == 3 %} {% break %} {% endif %}
{% if page.taxonomies.Tag %} {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags=page.taxonomies.Tag, date=page.date) }} {% else %} {{ macro_card::create_card(link=page.permalink, img=page.extra.image, title=page.title, subtitle="la génèse", abstract=page.summary, tags="", date=page.date) }} {% endif %}
{% endfor %}
{% endfor %} {% endblock content %}