{% extends 'base.html.twig' %} {% block title %}{% if editMode|default(false) %}Édition : {% endif %}{{ metaTitle ?? title }}{% endblock %} {% block meta %} {% endblock %} {% block stylesheets %} {{ parent() }} {{ encore_entry_link_tags('expertise') }} {% endblock %} {% block javascripts %} {{ parent() }} {{ encore_entry_script_tags('expertise') }} {% endblock %} {% block body %}
{# Hero: page title over the fixed mountain-mask bg (same visual/scroll behavior as Actualité, see assets/expertise.ts) #} {% include 'components/_page_hero.html.twig' with { title: title, edit_mode: editMode|default(false) } %} {# Intro: heading + paragraph, still inside the scrolling mountain-bg zone #}
{% if (content.introTitle is defined and content.introTitle) or editMode|default(false) %}

{{ content.introTitle|default('') }}

{% endif %} {% if (content.introText is defined and content.introText) or editMode|default(false) %}
{{ content.introText|default('')|raw }}
{% endif %}
{% include 'components/_expertise-list.html.twig' with { content: content, editMode: editMode|default(false), itemsImagePath: itemsImagePath|default(''), itemsImageDarkPath: itemsImageDarkPath|default('') } %}
{{ include('components/_patrimoine-section.html.twig', { content: content, imagePath: patrimoineImagePath|default(''), imageDarkPath: patrimoineImageDarkPath|default(''), edit_mode: editMode|default(false), }) }}
{% endblock %}