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--featured.html.twig

31 lines
613 B
Twig
Raw Normal View History

2017-03-31 11:22:46 +00:00
{#
/**
* @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) }}>
{{ content }}
<div class="featured-footer">
2017-03-31 14:38:22 +00:00
{{ 'Early bird tickets coming soon'|t|upper }}
2017-03-31 11:22:46 +00:00
</div>
</div>
{% endif %}