     {% extends "base.html" %}
    {% import 'macros/card.html' as macro_card -%}

{% block content %}

  {% for taxo in terms %}
    <div class="columns is-vcentered mt-6">
    {{ macro_card::create_card_tag(link=current_url, title=taxo.name) }}
    {% for page in taxo.pages %}
         {{ 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.tags, date=page.date) }}
        {% endfor %}
      </div>
 {% endfor %}
{% endblock content %}
    
