{% set options = { items: {'@page.self': '/demande-de-devis'}, 'limit': 1 } %} {% for p in page.collection(options)%} {% set image = p.media.images|first %} {% set h4 = h4 ?: 'h4' %}
{% if page.template == 'home' %}
<{{h4}}>{{p.title}}
{{p.content}}
{{image.html('','fleche')}}
{% include 'partials/blog/block_devis.html.twig' %} {% else %}
Faire une demande de devis en ligne
{% endif %}
{% endfor %}