Take over bottom region template for title, wrapper of blocks

Yeah i think everything in content paragraphs would be a lot better than this jankiness.
Not a big use case for putting this in multiple places anyway.
This commit is contained in:
benjamin melançon 2018-11-21 01:11:27 -05:00
parent eeeed27e97
commit 1722ed1594

View file

@ -1,3 +1,29 @@
{% extends "@octavia/layout/region--content-bottom.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()
*/
#}
{% set attributes = attributes.addClass(['titlebar', 'titlebar-bigborder', 'content']) %}
{% if content %}
<section class="section related">
<div class="container">
<div class="titlebar titlebar-bigborder content">
<div class="titlebar_title">
<h3 class="subtitle is-4 is-mono">Just one more thing...</h3>
</div>
</div>
<div class="columns">
{{ content }}
</div>
</div>
</section>
{% endif %}