eleven-8.x-1.0-beta5/eleven/templates/_cleanup/block.html.twig
eleven/templates/_cleanup/block.html.twig
{# remove the id from blocks #}
{%
set classes = [
'block',
'block--' ~ plugin_id|clean_class
]
%}
<div{{ attributes.addClass(classes).removeAttribute('id') }}>
{{ title_prefix }}
{% if label %}
<h2{{ title_attributes.addClass('block-title') }}>{{ label }}</h2>
{% endif %}
{{ title_suffix }}
{% block content %}
{{ content }}
{% endblock %}
</div>
