fix: hide jinja placeholder for title when no value-section with image

This commit is contained in:
Antoine Maas 2025-06-20 09:32:33 +00:00
parent 2b20e93fe7
commit 277286ff18

View file

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