{% extends 'partials/base.html.twig' %} {% block content %}
{% set top_name = page.header.top %} {% if top_name != "/actualites" %}
{% set top_page = page.find(top_name) %} {% set source = top_page.header.media_thumbnail %} {% if source != null%} {% set info = "url('"~top_page.url~"/"~source~"')" %} {% endif %}
{{ top_page.title }} {{ top_page.header.taxonomy.tag|first }}
{% endif %} {% for post in page.collection %} {% set source = post.header.media_thumbnail %} {% if source != null %} {% set info = post.url~"/"~source %} {% else %} {% set info = null %} {% endif %} {% if top_page.title != post.title %} {% endif %} {% endfor %}
{% if config.plugins.pagination.enabled and page.collection.params.pagination %} {% include 'partials/pagination.html.twig' with {'base_url':page.url, 'pagination':collection.params.pagination} %} {% endif %}
{% endblock %}