From 277286ff185e13adbf4e5c6b1d60cfba6da7f635 Mon Sep 17 00:00:00 2001 From: Antoine Maas Date: Fri, 20 Jun 2025 09:32:33 +0000 Subject: [PATCH] fix: hide jinja placeholder for title when no value-section with image --- .../web_template/section_with_image/section_with_image.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/website/web_template/section_with_image/section_with_image.html b/frappe/website/web_template/section_with_image/section_with_image.html index 61c4010808..5644aa2dda 100644 --- a/frappe/website/web_template/section_with_image/section_with_image.html +++ b/frappe/website/web_template/section_with_image/section_with_image.html @@ -1,5 +1,7 @@
+ {%- if title -%}

{{ _(title) }}

+ {%- endif -%} {%- if subtitle -%}

{{ _(subtitle) }}

{%- endif -%}