diff --git a/frappe/templates/base.html b/frappe/templates/base.html
index 6af5cae355..5853a6965d 100644
--- a/frappe/templates/base.html
+++ b/frappe/templates/base.html
@@ -14,12 +14,9 @@ Built on Frappe.io. Free and Open Source Framework for the Web. https://frappe.i
{%- block head_include %}{% endblock -%}
{%- block head -%}
-
- {%- if metatags -%}
- {%- for name in metatags %}
-
- {%- endfor -%}
- {%- endif -%}
+ {% if meta_block is defined %}
+ {{ meta_block }}
+ {% endif %}
{%- for link in web_include_css %}
@@ -50,15 +47,15 @@ Built on Frappe.io. Free and Open Source Framework for the Web. https://frappe.i