fix: hide jinja placeholder for title when no value set-hero
This commit is contained in:
parent
ed14fafe32
commit
a2bca73ac3
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
<div class="hero {{ 'align-center' if align == 'Center' else '' }}">
|
||||
<div class="hero-content">
|
||||
{%- if title -%}
|
||||
<h1 class="hero-title">{{ _(title) }}</h1>
|
||||
{%- endif -%}
|
||||
{%- if subtitle -%}
|
||||
<p class="hero-subtitle">
|
||||
{{ _(subtitle) }}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue