From b14fc160fd0661827bbf2e65ebe065ac0387d751 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Thu, 27 Aug 2015 11:10:04 +0530 Subject: [PATCH] [hotfix] show head html as blank if None --- frappe/templates/base.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frappe/templates/base.html b/frappe/templates/base.html index 786e1b15d3..851c04dbfc 100644 --- a/frappe/templates/base.html +++ b/frappe/templates/base.html @@ -20,13 +20,13 @@ type="image/x-icon"> {% endblock %} {%- block head -%} - {% if meta_block is defined %} + {% if meta_block is defined -%} {{ meta_block }} - {% endif %} + {%- endif %} - {% if head_html is defined %} - {{ head_html }} - {% endif %} + {% if head_html is defined -%} + {{ head_html or "" }} + {%- endif %} {%- for link in web_include_css %}