fix: hide jinja placeholder for title when no value set
This commit is contained in:
parent
aedd5c29c0
commit
a96f3dc6cf
1 changed files with 2 additions and 0 deletions
|
|
@ -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 -%}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue