diff options
author | sudorook <daemon@nullcodon.com> | 2020-12-05 05:24:17 +0300 |
---|---|---|
committer | sudorook <daemon@nullcodon.com> | 2020-12-05 05:24:17 +0300 |
commit | 5dacafc9531274198f570134053136b2e1e36409 (patch) | |
tree | 8d7681bf205588c3e2350a012202cc6d5ac473c9 | |
parent | 87560d6168c2ec550019558d270275483f11cb5d (diff) |
use h1 tag for page titles
-rw-r--r-- | layouts/_default/list.html | 4 | ||||
-rw-r--r-- | layouts/_default/single.html | 2 | ||||
-rw-r--r-- | layouts/_default/terms.html | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 4bd5d70..1ff00ac 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -12,9 +12,9 @@ <!-- Content --> <div class="container" style="min-height:56vh"> {{- if .Data.Singular }} - <p class="title">{{ .Data.Singular | title }}: {{ .Title }}</p> + <h1 class="title">{{ .Data.Singular | title }}: {{ .Title }}</h1> {{- else }} - <p class="title">{{ .Kind | title }}: {{ .Title }}</p> + <h1 class="title">{{ .Kind | title }}: {{ .Title }}</h1> {{- end }} {{- range .Paginator.Pages }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 353d8ec..9b73e9f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -11,7 +11,7 @@ <!-- Content --> <div class="container"> - <p class="title">{{ .Title }}</p> + <h1 class="title">{{ .Title }}</h1> <p class="subtitle">{{ .Date.Format "Jan 2, 2006" }}</p> {{ partial "toc.html" . }} diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 16ca770..5045359 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -11,7 +11,7 @@ <!-- Content --> <div class="container" style="min-height:56vh"> - <p class="title">List of {{ .Title }}</p> + <h1 class="title">List of {{ .Title }}</h1> <ul> {{- $data := .Data }} {{- range $key, $value := .Data.Terms.ByCount }} |