From 05bce9fc1a9a1363647331e40dd1688e78fa9e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Wed, 21 Nov 2018 01:17:16 -0500 Subject: [PATCH] Override template for blocks in bottom content region --- agaric/templates/block/block--content-bottom.html.twig | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 agaric/templates/block/block--content-bottom.html.twig diff --git a/agaric/templates/block/block--content-bottom.html.twig b/agaric/templates/block/block--content-bottom.html.twig new file mode 100644 index 0000000..029dc89 --- /dev/null +++ b/agaric/templates/block/block--content-bottom.html.twig @@ -0,0 +1,10 @@ +{% extends '@bulma/block/block.html.twig' %} +{% set view_mode = configuration['view_mode'] ?? null %} +{% if view_mode is same as ('columnar') %} + {% + set classes = [ + 'column' + ] + %} + {% set attributes = attributes.addClass(classes) %} +{% endif %}