{% set image = page.media.images|first %}
<div class="header-wrapper">
  {% include 'partials/bandeau.html.twig' %}
  {% if not show_sidebar %}
    {% include 'partials/blog/block_devis.html.twig' %}
  {% endif %}
</div>

<div class="body-wrapper">
  {% if not show_sidebar %}
  <div class="content">
    <div class="images_s">
      {% for images in page.media.images|slice(1) %}
        {{images.html('', page.title )}}
      {% endfor %}
    </div>
    <div class="content_s">
      {{ page.content|raw }}
    </div>
    {% if page.header.features %}
    <div class="icones">
      {% for features in page.header.features %}
        <div class="icon">
          {% for img in features.icon %}
            <img src="/{{img.path}}" alt="{{features.text}}">
          {% endfor %}
          <p>{{features.text}}</p>
        </div>
      {% endfor %}
    </div>
    {% endif %}
  </div>
  {% endif %}

  {% if show_sidebar %}
    <div class="content">
      {% if page.media.images|slice(1) %}
        <div class="images_s">
          {% for images in page.media.images|slice(1) %}
            {{images.html('', page.title)}}
          {% endfor %}
        </div>
      {% endif %}

      <div class="content_s">
        {{ page.content|raw }}
      </div>
    </div>

    {% block sidebar %}
      {% include 'partials/sidebar.html.twig' %}
    {% endblock %}
  {% endif %}
</div>
