{#
    UI Element template
    type: title
    element fields :
        content
#}
<section class="block-section block-title">
    {% if element.title is defined and element.title is not empty %}
        <{{ element.htmlTag|default('h2') }} class="title-wrapper h2">{{ element.title }}</{{ element.htmlTag|default('h2') }}>
    {% endif %}

    {% if element.title is defined and element.subtitle is not empty %}
        <{{ element.subtitleHtmlTag|default('h3') }} class="subtitle-wrapper display-4">{{ element.subtitle }}</{{ element.subtitleHtmlTag|default('h3') }}>
    {% endif %}
</section>
