{% extends "base.html" %} {% import 'macros/card.html' as macro_card -%} {% block content %}
{% for page in paginator.pages %}
{% 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 %}
{% endblock content %}