Override header tabs region template from Octavia (unchanged in this commit)

This commit is contained in:
Benjamin Melançon 2019-08-31 09:14:41 -04:00
parent 720826605f
commit 81a19c9f93

View file

@ -0,0 +1,22 @@
{# Override from Octavia: octavia/src/templates/layout/region--header-tabs.html.twig
/**
* @file
* Theme override 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()
*/
#}
{% if content %}
{% set attributes = attributes.addClass(['section']) %}
<section{{ attributes }}>
<div class="container">
{{ content }}
</div>
</section>
{% endif %}