This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/web/themes/dcb2017/templates/layout/region--content-bottom.html.twig
2017-05-05 16:42:08 +01:00

31 lines
652 B
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()
*/
#}
{%
set classes = [
'region',
'region-' ~ region|clean_class,
]
%}
{% if content %}
<div{{ attributes.addClass(classes) }}>
<h2>Our <span>Sponsors</span></h2>
{{ content }}
<div class="sponsor-link">
<a href="/sponsors">{{ 'See all sponsors'|t }}</a>
</div>
</div>
{% endif %}