{% 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' %}

    <section id="devis" class="{{page.template}}">
      {% if page.template == 'home' %}
        <div class="title">
          <{{h4}}>{{p.title}}</{{h4}}>
        </div>
        <div class="txt">
          {{p.content}}
        </div>
        <div class="img">
          {{image.html('','fleche')}}
        </div>
        {% include 'partials/blog/block_devis.html.twig' %}
      {% else %}
      <a href="/demande-de-devis">
        <div class="title">
          Faire une demande de devis en ligne
        </div>
        </a>
      {% endif %}
    </section>

  {% endfor %}
