region--hero.html.twig in Open Social 8.6
Same filename and directory in other branches
- 8.9 themes/socialbase/templates/layout/region--hero.html.twig
- 8 themes/socialbase/templates/layout/region--hero.html.twig
- 8.2 themes/socialbase/templates/layout/region--hero.html.twig
- 8.3 themes/socialbase/templates/layout/region--hero.html.twig
- 8.4 themes/socialbase/templates/layout/region--hero.html.twig
- 8.5 themes/socialbase/templates/layout/region--hero.html.twig
- 8.7 themes/socialbase/templates/layout/region--hero.html.twig
- 8.8 themes/socialbase/templates/layout/region--hero.html.twig
{%
set classes = [
'region--' ~ region|clean_class,
'container',
]
%}
{% if content %}
<div{{ attributes.addClass(classes).setAttribute('id', 'hero') }}>
{{ content }}
</div>
{% endif %}File
themes/socialbase/templates/layout/region--hero.html.twigView source
- {%
- set classes = [
- 'region--' ~ region|clean_class,
- 'container',
- ]
- %}
- {% if content %}
- <div{{ attributes.addClass(classes).setAttribute('id', 'hero') }}>
- {{ content }}
- </div>
- {% endif %}