From d37e111ff4331d4a5d4d32e56e5b25f7791c00a8 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 14 Sep 2016 12:28:15 +0300 Subject: [PATCH] Adjust header levels for post summary and page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The W3C's HTML5 documentation says that header strength (h1–h6) is only important per section, but their validator[0] recommends only using one h1. [0] https://validator.w3.org/ --- layouts/_default/single.html | 2 +- layouts/_default/summary.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index cadb86d..f0b0a27 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@ {{ define "main" }}
-

{{ .Title }}

+

{{ .Title }}

{{ .Content }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 2d68088..e793637 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -1,6 +1,6 @@