You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
594 B
30 lines
594 B
12 months ago
|
{#
|
||
|
/**
|
||
|
* @file
|
||
|
* Olives's theme override to display the content above 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()
|
||
|
*/
|
||
|
#}
|
||
|
|
||
|
{%
|
||
|
set classes = [
|
||
|
'region',
|
||
|
'region--' ~ region|clean_class,
|
||
|
'grid-full',
|
||
|
'layout--pass--content-medium',
|
||
|
]
|
||
|
%}
|
||
|
|
||
|
{% if content %}
|
||
|
<div{{ attributes.addClass(classes) }}>
|
||
|
{{ content }}
|
||
|
</div>
|
||
|
{% endif %}
|