From 4889ce13ce3cef65b3a4f95314d07477ea64c099 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Tue, 18 Aug 2020 18:40:42 +0530 Subject: [PATCH] fix: Conditionally render subtitle --- .../website/web_template/section_with_cta/section_with_cta.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frappe/website/web_template/section_with_cta/section_with_cta.html b/frappe/website/web_template/section_with_cta/section_with_cta.html index 313f49dde3..820fb726aa 100644 --- a/frappe/website/web_template/section_with_cta/section_with_cta.html +++ b/frappe/website/web_template/section_with_cta/section_with_cta.html @@ -1,7 +1,9 @@

{{ title }}

+ {%- if subtitle -%}

{{ subtitle }}

+ {%- endif -%}