浏览代码

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
version-14
Case Solved 5 年前
committed by GitHub
父节点
当前提交
ee86f34a6d
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 3 个文件被更改,包括 5 次插入3 次删除
  1. +1
    -1
      frappe/templates/base.html
  2. +2
    -1
      frappe/www/about.html
  3. +2
    -1
      frappe/www/contact.html

+ 1
- 1
frappe/templates/base.html 查看文件

@@ -10,7 +10,7 @@
{% include "templates/includes/meta_block.html" %}
{% endblock %}

<title>{% block title %} {{ title | striptags }} {% endblock %}</title>
<title>{% block title %}{{ title | striptags }}{% endblock %}</title>

{% block favicon %}
<link


+ 2
- 1
frappe/www/about.html 查看文件

@@ -1,6 +1,7 @@
{% extends "templates/web.html" %}

{% block title %}About Us{% endblock %}
{% set title = "About Us" %}
{% block header %}<h1>About Us</h1>{% endblock %}
{% block page_sidebar %}
{% include "templates/includes/web_sidebar.html" %}
{% endblock %}


+ 2
- 1
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 %}<h1>{{ heading or "Contact Us" }}</h1>{% endblock %}

{% block page_content %}
<style>


正在加载...
取消
保存