Override header tabs region template from Octavia (unchanged in this commit)
This commit is contained in:
parent
720826605f
commit
81a19c9f93
1 changed files with 22 additions and 0 deletions
|
@ -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 %}
|
Loading…
Add table
Reference in a new issue