Files
drupal-leshed/web/themes/custom/leshed/templates/region--header-right.html.twig
T
2026-12-01 21:11:30 +01:00

28 lines
771 B
Twig

{#
/**
* @file
* Default theme implementation to display a region.
*
* Available variables:
* - content: The content for this region, typically blocks.
* - attributes: HTML attributes for the region <div>.
* - region: The name of the region variable as defined in the theme's
* .info.yml file.
*
* @see template_preprocess_region()
*
* @ingroup themeable
*/
#}
{% if content %}
<div id="burger-btn"></div>
<div{{ attributes }}>
<div class="inner-wrapper">
{{ content }}
{# Recherche plein texte : envoie vers la vue « recherche » (/recherche,
/en/recherche), même paramètre que son formulaire exposé. #}
{% include '@leshed/search-form.html.twig' with { id: 'burger-search' } only %}
</div>
</div>
{% endif %}