From ee86f34a6de315a3fb190ef7e54ecba5b7bd65cd Mon Sep 17 00:00:00 2001 From: Case Solved <64409021+casesolved-co-uk@users.noreply.github.com> Date: Fri, 19 Jun 2020 06:01:06 +0100 Subject: [PATCH] feat: Add H1 tag to About and Contact pages for SEO [v13] (#10605) * Add H1 tag to About and Contact pages for SEO * fix: Issue with breadcrumb on Contact Us page --- frappe/templates/base.html | 2 +- frappe/www/about.html | 3 ++- frappe/www/contact.html | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/frappe/templates/base.html b/frappe/templates/base.html index a2c171a651..0b82b3dac2 100644 --- a/frappe/templates/base.html +++ b/frappe/templates/base.html @@ -10,7 +10,7 @@ {% include "templates/includes/meta_block.html" %} {% endblock %} - {% block title %} {{ title | striptags }} {% endblock %} + {% block title %}{{ title | striptags }}{% endblock %} {% block favicon %} About Us{% endblock %} {% block page_sidebar %} {% include "templates/includes/web_sidebar.html" %} {% endblock %} diff --git a/frappe/www/contact.html b/frappe/www/contact.html index 5433ccf253..91f14985b2 100644 --- a/frappe/www/contact.html +++ b/frappe/www/contact.html @@ -1,6 +1,7 @@ {% extends "templates/web.html" %} -{% block title %}{{ heading or "Contact Us"}}{% endblock %} +{% set title = heading or "Contact Us" %} +{% block header %}

{{ heading or "Contact Us" }}

{% endblock %} {% block page_content %}