fix: Added conditional rendering for content field in split section with image template

(cherry picked from commit 9c5ac3a1a4)
This commit is contained in:
codescientist703 2021-05-01 19:43:38 +05:30 committed by mergify-bot
parent 9ba9c4c604
commit 2d72d8e166

View file

@ -16,7 +16,9 @@
{%- endif -%}
<div class="split-section-content col-12 {{ left_col if image_on_right else right_col }} {{ align_content }}">
<h2>{{ title }}</h2>
{%- if content -%}
<p>{{ content }}</p>
{%- endif -%}
{%- if link_label and link_url -%}
<a href="{{ link_url }}">{{ link_label }}</a>