From a96f3dc6cfe5c34ab4e3e125bea13eb2bdf8c327 Mon Sep 17 00:00:00 2001 From: Antoine Maas Date: Fri, 20 Jun 2025 09:25:43 +0000 Subject: [PATCH] fix: hide jinja placeholder for title when no value set --- .../section_with_collapsible_content.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/website/web_template/section_with_collapsible_content/section_with_collapsible_content.html b/frappe/website/web_template/section_with_collapsible_content/section_with_collapsible_content.html index a2edf5b549..85b9ed89ac 100644 --- a/frappe/website/web_template/section_with_collapsible_content/section_with_collapsible_content.html +++ b/frappe/website/web_template/section_with_collapsible_content/section_with_collapsible_content.html @@ -1,5 +1,7 @@
+ {%- if title -%}

{{ _(title) }}

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

{{ _(subtitle) }}

{%- endif -%}