<div class="section-heading">
<div class="container">
{% if element is defined and element is not null %}
<{{ element }} class="section-title">{{ title ? title|raw : page.name|raw }}</{{ element }}>
{% else %}
<h1 class="section-title">{{ title is defined and element is not null ? title|raw : page.name|raw }}</h1>
{% endif %}
</div>
</div>