Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sudorook/capsule.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsudorook <daemon@nullcodon.com>2020-12-05 05:24:17 +0300
committersudorook <daemon@nullcodon.com>2020-12-05 05:24:17 +0300
commit5dacafc9531274198f570134053136b2e1e36409 (patch)
tree8d7681bf205588c3e2350a012202cc6d5ac473c9
parent87560d6168c2ec550019558d270275483f11cb5d (diff)
use h1 tag for page titles
-rw-r--r--layouts/_default/list.html4
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/_default/terms.html2
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 }}