From 1722ed1594b860ab7f21cdf42c18f55a77fedc88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Wed, 21 Nov 2018 01:11:27 -0500 Subject: [PATCH] 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. --- .../layout/region--content-bottom.html.twig | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/agaric/templates/layout/region--content-bottom.html.twig b/agaric/templates/layout/region--content-bottom.html.twig index 2a2b690..5865531 100644 --- a/agaric/templates/layout/region--content-bottom.html.twig +++ b/agaric/templates/layout/region--content-bottom.html.twig @@ -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 %} + +{% endif %}