From 2b20e93fe72c755362779a7127bb9b49f2f596a5 Mon Sep 17 00:00:00 2001 From: Antoine Maas Date: Fri, 20 Jun 2025 09:31:46 +0000 Subject: [PATCH] fix: hide jinja placeholder for title when no value-section with embed --- .../web_template/section_with_embed/section_with_embed.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/website/web_template/section_with_embed/section_with_embed.html b/frappe/website/web_template/section_with_embed/section_with_embed.html index daf253afb2..f2e89ca493 100644 --- a/frappe/website/web_template/section_with_embed/section_with_embed.html +++ b/frappe/website/web_template/section_with_embed/section_with_embed.html @@ -1,5 +1,7 @@
+ {%- if title -%}

{{ _(title) }}

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

{{ _(subtitle) }}

{%- endif -%}