blog-item.html.twig 413 B

12345678910111213141516
  1. {% set image = page.media.images|first %}
  2. {% if image %}
  3. <div class="bandeau">
  4. {{ image.html }}
  5. </div>
  6. {% endif %}
  7. {% if not hero_image_name %}
  8. <div class="content">
  9. {% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
  10. {% if page.header.subtitle %}
  11. <h3 >{{ page.header.subtitle }}</h3>
  12. {% endif %}
  13. {{ page.content|raw }}
  14. </div>
  15. {% endif %}