{% set options = { items: {'@page.self': '/organisez-vos-evenements/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">
          <div class="content-img">
            {{image.html('','lecampus')}}
          </div>
          {% include 'partials/blog/block_devis.html.twig' %}
        </div>
      {% else %}
      <a href="https://val-de-drome.lab-event.com/event-form/formulaire%20ext" target="_blank">
      {# <a href="/demande-de-devis"> #}
        <div class="title">
          Reserver en ligne
        </div>
        </a>
      {% endif %}
    </section>

  {% endfor %}
