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:
parent
eeeed27e97
commit
1722ed1594
1 changed files with 28 additions and 2 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Reference in a new issue