{% set image = page.media.images|first %}

  {% if image %}
  <div class="bandeau">
    {{ image.html }}
  </div>

  {% if header.entete.text == true %}
    <div class="entete">
      <div class="entete_c">
        <h2>{{page.title}}</h2>
        <h3>{{ header.entete.text }}</h3>
    </div>
    </div>
  {% endif %}

  {% endif %}
  {% if not hero_image_name and not show_sidebar %}
    <div class="content_s">
      {% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
      {% if page.header.subtitle %}
      <h3 >{{ page.header.subtitle }}</h3>
      {% endif %}
      {{ page.content|raw }}
    </div>
  {% endif %}
  {% if not hero_image_name and show_sidebar %}
  <div class="content">

    {% for images in page.media.images %}
    {{images}}
    {% endfor %}

    <div class="content_s">
      {% if header.entete.text == false %}
        {% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
      {% endif %}
      {% if page.header.subtitle %}
      <h3 >{{ page.header.subtitle }}</h3>
      {% endif %}
      {{ page.content|raw }}
    </div>
  </div>
{% endif %}
