From 6f99a24a2ced6b2aee2fa52648ac9e173ed0b9f1 Mon Sep 17 00:00:00 2001 From: Raghavendra Kamath Date: Wed, 7 Feb 2018 14:59:07 +0530 Subject: [PATCH] correct the meta block portion (#4978) --- frappe/templates/base.html | 13 +------------ frappe/templates/includes/meta_block.html | 6 +++--- frappe/templates/web.html | 1 - .../doctype/blog_post/templates/blog_post.html | 5 +++-- 4 files changed, 7 insertions(+), 18 deletions(-) diff --git a/frappe/templates/base.html b/frappe/templates/base.html index 9b7d48e1f8..4e820d69cc 100644 --- a/frappe/templates/base.html +++ b/frappe/templates/base.html @@ -6,7 +6,6 @@ {% block title %} {{ title | striptags }} {% endblock %} - {% block favicon %} {% endblock %} {%- block head -%} - {% if meta_block is defined -%} - {{ meta_block }} - {%- endif %} - + {% block meta_block %}{% endblock %} {% if head_html is defined -%} {{ head_html or "" }} {%- endif %} - {%- for link in web_include_css %} {%- endfor -%} - {%- block head_include %}{{ head_include or "" }}{% endblock -%} - {%- block style %}{%- endblock -%} {%- endblock -%} {% endif -%} - {%- for link in web_include_js %} {%- endfor -%} - {%- block script %}{%- endblock %} - - {%- block body_include %}{{ body_include or "" }}{% endblock -%} diff --git a/frappe/templates/includes/meta_block.html b/frappe/templates/includes/meta_block.html index 5a22341e11..6f8a6a3a73 100644 --- a/frappe/templates/includes/meta_block.html +++ b/frappe/templates/includes/meta_block.html @@ -2,9 +2,9 @@ {%- for name in metatags %} {%- endfor -%} - - - + + + diff --git a/frappe/templates/web.html b/frappe/templates/web.html index 44b5c1cb8c..d0c8dc7df5 100644 --- a/frappe/templates/web.html +++ b/frappe/templates/web.html @@ -1,5 +1,4 @@ {% extends base_template_path %} - {% block hero %}{% endblock %} {% block content %}