Skip to content
Snippets Groups Projects
Commit f14e3c36 authored by Ivica Puljic's avatar Ivica Puljic
Browse files

Issue #3425790 by pivica: Add block header wrapper to block--system-menu-block template

parent 462065d0
No related branches found
No related tags found
No related merge requests found
......@@ -47,11 +47,13 @@
{% set attributes = attributes.setAttribute('aria-label', configuration.label) %}
{% endif %}
<nav {{ attributes.addClass(classes)|without('role', 'aria-labelledby') }}>
{{ title_prefix }}
{% if label -%}
<h2{{ title_attributes.addClass('block__title') }}>{{ label }}</h2>
{%- endif %}
{{ title_suffix }}
{% block header %}
{{ title_prefix }}
{% if label -%}
<h2{{ title_attributes.addClass('block__title') }}>{{ label }}</h2>
{%- endif %}
{{ title_suffix }}
{% endblock %}
{#- Menu. -#}
{% block content -%}
{{ content }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment