fix: Conditionally render subtitle
This commit is contained in:
parent
5305873a37
commit
4889ce13ce
1 changed files with 2 additions and 0 deletions
|
|
@ -1,7 +1,9 @@
|
|||
<div class="section-cta-container">
|
||||
<div class="section-cta">
|
||||
<h2 class="title">{{ title }}</h2>
|
||||
{%- if subtitle -%}
|
||||
<p class="subtitle">{{ subtitle }}</p>
|
||||
{%- endif -%}
|
||||
<div class="mt-4">
|
||||
<a href="{{ cta_url }}" class="btn btn-lg btn-primary">{{ cta_label }}</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue