{% extends 'base.html.twig' %} {% block title %} {% if categorie is defined %} {{categorie|raw}} {% elseif valeurCritere is defined %} {{valeurCritere|raw}} {% else %} {{type['type']|raw}} {% endif %} {% endblock %} {% block ogtitle %} {% if categorie is defined %} {{categorie|raw}} {% elseif valeurCritere is defined %} {{valeurCritere|raw}} {% else %} {{type['type']|raw}} {% endif %} {% endblock %} {% block twittertitle %} {% if categorie is defined %} {{categorie|raw}} {% elseif valeurCritere is defined %} {{valeurCritere|raw}} {% else %} {{type['type']|raw}} {% endif %} {% endblock %} {% block canonical %} {% if categorie is defined %} {% set currentUrl = app.request.uri() %}{{canonicalHandler2(currentUrl, idCategorie~'-'~categorie, type['id']~'-'~(type['type']|removeVar)|striptags)}} {% elseif valeurCritere is defined %} {% set currentUrl = app.request.uri() %}{{canonicalHandler(currentUrl, valeurCritere)}} {% else %} {% set currentUrl = app.request.uri() %}{{canonicalHandler(currentUrl, type['id']~'-'~(type['type']|removeVar)|striptags)}} {% endif %} {% endblock %} {% block ogurl %} {% if categorie is defined %} {% set currentUrl = app.request.uri() %}{{canonicalHandler2(currentUrl, idCategorie~'-'~categorie, type['id']~'-'~(type['type']|removeVar)|striptags)}} {% elseif valeurCritere is defined %} {% set currentUrl = app.request.uri() %}{{canonicalHandler(currentUrl, valeurCritere)}} {% else %} {% set currentUrl = app.request.uri() %}{{canonicalHandler(currentUrl, type['id']~'-'~(type['type']|removeVar)|striptags)}} {% endif %} {% endblock %} {% block twitterurl %} {% if categorie is defined %} {% set currentUrl = app.request.uri() %}{{canonicalHandler2(currentUrl, idCategorie~'-'~categorie, type['id']~'-'~(type['type']|removeVar)|striptags)}} {% elseif valeurCritere is defined %} {% set currentUrl = app.request.uri() %}{{canonicalHandler(currentUrl, valeurCritere)}} {% else %} {% set currentUrl = app.request.uri() %}{{canonicalHandler(currentUrl, type['id']~'-'~(type['type']|removeVar)|striptags)}} {% endif %} {% endblock %} {% block body %}
{% include 'vitrine/includes/_breadcrumb.html.twig' %}
{% for article in articles %} {% set type = article['id_article_type']|articleType %} {% set stateimg = changeLink(article['lien_image'], article['image_http_serveur']) %}
{% if (article['sous_titre']|length != 0) %}

{{article['sous_titre']|raw }}

{% endif %}

{{article['titre']|raw }}

{% if article['categorie'] != '' %} {{article['categorie']|raw}} {% else %} Non spécifié {% endif %} {% if type['actif_redacteur'] and article['redacteur'] != '' %} | par {{article['redacteur']}}, {% endif %} {% if type['actif_date'] and article['date_creation']|date("d-m-Y") != '' %} le {{article['date_creation']|date("d-m-Y")}} {% endif %}

{% if stateimg %} {{ article['titre']|striptags }} {% endif %} {% if article['description']|length > 0 %}

{{ article['description']|u.truncate(350, '...', false)|raw }}

{% endif %} En savoir plus
{% endfor %}
{% include 'vitrine/formulaire/includes/_form.html.twig' %}
{% endblock %} {% block javascripts %} {{ parent() }} {% set dataJson = { recaptcha_key: projectConfig.recaptcha_site_key, data_response: path('data_response'), download_pdf_link: path('download_pdf_link'), send_conf_code: path('send_conf_code') } %} {% endblock %}