fix: hide jinja placeholder for title when no value set

This commit is contained in:
Antoine Maas 2025-06-20 09:25:43 +00:00
parent aedd5c29c0
commit a96f3dc6cf

View file

@ -1,5 +1,7 @@
<div class="section-with-collapsible-content {{ 'align-center' if align == 'Center' else '' }}">
{%- if title -%}
<h2 class="section-title">{{ _(title) }}</h2>
{%- endif -%}
{%- if subtitle -%}
<p class="section-description">{{ _(subtitle) }}</p>
{%- endif -%}