diff --git a/templates/blocks/block.html.twig b/templates/blocks/block.html.twig index 2a980e00b5a2b25d0e78e30f6051cb0945b365fa..eb8af384f503e23d4596157198ce5475a2c6feeb 100644 --- a/templates/blocks/block.html.twig +++ b/templates/blocks/block.html.twig @@ -37,16 +37,18 @@ {{ attach_library('uw_theme_admin/uw_layout_builder') }} {% endif %} - - {% if admin_label %} -
{{ admin_label }}
- {% endif %} - {{ title_prefix }} - {% if label %} - {{ label }} - {% endif %} - {{ title_suffix }} - {% block content %} - {{ content }} - {% endblock %} - +{% if content %} + + {% if admin_label %} +
{{ admin_label }}
+ {% endif %} + {{ title_prefix }} + {% if label %} + {{ label }} + {% endif %} + {{ title_suffix }} + {% block content %} + {{ content }} + {% endblock %} + +{% endif %}