From 14a47c9d39bb37f5f40f78dbe5b36280fa65aec8 Mon Sep 17 00:00:00 2001
From: Kulbhushan Chand <17742733+kulbhushanchand@users.noreply.github.com>
Date: Fri, 23 Jul 2021 18:57:16 +0530
Subject: [PATCH] fix: change heading tag of related posts section from `h4` to
`h2` for SEO enhancement (#3064)
* Update heading tag from `h4` to `h2`
* Update heading tag from `h4` to `h2`
---
_layouts/single.html | 4 ++--
docs/_layouts/single.html | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/_layouts/single.html b/_layouts/single.html
index d74002b7ddd0..7826be5bf6bc 100644
--- a/_layouts/single.html
+++ b/_layouts/single.html
@@ -65,7 +65,7 @@
{{ site.data.ui-text[site.locale].meta_label }}
{% endcomment %}
{% if page.id and page.related and site.related_posts.size > 0 %}
-
{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}
+
{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}
{% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %}
@@ -75,7 +75,7 @@
{{ site.data.ui-text[site.locale].related_label
{% comment %}{% endcomment %}
{% elsif page.id and page.related %}
-
{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}
+
{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}
{% for post in site.posts limit:4 %}
{% if post.id == page.id %}
diff --git a/docs/_layouts/single.html b/docs/_layouts/single.html
index 63d5370a4c0a..5f4996f3410e 100644
--- a/docs/_layouts/single.html
+++ b/docs/_layouts/single.html
@@ -73,7 +73,7 @@
{{ site.data.ui-text[site.locale].meta_label }}
-
{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}
+
{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}
{% for post in site.related_posts limit:4 %}
{% include archive-single.html type="grid" %}
@@ -83,7 +83,7 @@
{{ site.data.ui-text[site.locale].related_label
{% comment %}{% endcomment %}
{% elsif page.id and page.related %}
-
{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}
+
{{ site.data.ui-text[site.locale].related_label | default: "You May Also Enjoy" }}
{% for post in site.posts limit:4 %}
{% if post.id == page.id %}