From 2d72d8e166ba4509e2c05e8d3e55ddde0055cbc8 Mon Sep 17 00:00:00 2001 From: codescientist703 Date: Sat, 1 May 2021 19:43:38 +0530 Subject: [PATCH] fix: Added conditional rendering for content field in split section with image template (cherry picked from commit 9c5ac3a1a4b177f440168201f142d5075d21c307) --- .../split_section_with_image/split_section_with_image.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/website/web_template/split_section_with_image/split_section_with_image.html b/frappe/website/web_template/split_section_with_image/split_section_with_image.html index cae2482910..5ebeef3912 100644 --- a/frappe/website/web_template/split_section_with_image/split_section_with_image.html +++ b/frappe/website/web_template/split_section_with_image/split_section_with_image.html @@ -16,7 +16,9 @@ {%- endif -%}

{{ title }}

+ {%- if content -%}

{{ content }}

+ {%- endif -%} {%- if link_label and link_url -%} {{ link_label }}