From e9c302ac0de1b10e7f0105edb6077b0e1bca4712 Mon Sep 17 00:00:00 2001 From: Antoine Maas Date: Fri, 20 Jun 2025 09:31:33 +0000 Subject: [PATCH] fix: hide jinja placeholder for title when no value-section with right image --- .../hero_with_right_image/hero_with_right_image.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/website/web_template/hero_with_right_image/hero_with_right_image.html b/frappe/website/web_template/hero_with_right_image/hero_with_right_image.html index 69a9fff702..d761d542af 100644 --- a/frappe/website/web_template/hero_with_right_image/hero_with_right_image.html +++ b/frappe/website/web_template/hero_with_right_image/hero_with_right_image.html @@ -1,9 +1,11 @@
+ {%- if title -%}

{{ _(title) }}

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

{{ _(subtitle) }}