Override template for blocks in bottom content region

This commit is contained in:
benjamin melançon 2018-11-21 01:17:16 -05:00
parent 1722ed1594
commit 05bce9fc1a

View 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 %}