Override template for blocks in bottom content region
This commit is contained in:
parent
1722ed1594
commit
05bce9fc1a
1 changed files with 10 additions and 0 deletions
10
agaric/templates/block/block--content-bottom.html.twig
Normal file
10
agaric/templates/block/block--content-bottom.html.twig
Normal file
|
@ -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 %}
|
Loading…
Reference in a new issue