Skip to content
Snippets Groups Projects
Commit 5aff9823 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-6635: adding heading level to block template

parent 43e7c251
No related branches found
No related tags found
1 merge request!117ISTWCMS-6635: heading level block
...@@ -44,7 +44,11 @@ ...@@ -44,7 +44,11 @@
{% endif %} {% endif %}
{{ title_prefix }} {{ title_prefix }}
{% if label %} {% if label %}
<h2{{ title_attributes }}>{{ label }}</h2> {% if heading_level %}
<{{ heading_level }}{{ title_attributes }}>{{ label }}</{{ heading_level }}>
{% else %}
<h2{{ title_attributes }}>{{ label }}</h2>
{% endif %}
{% endif %} {% endif %}
{{ title_suffix }} {{ title_suffix }}
{% block content %} {% block 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