summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-07-26 17:12:52 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-07-26 17:12:52 +0100
commit14e03301ea8dee9b2dc30ae1f3fb78ab6408d3ff (patch)
tree5502792f11927b223704f775f620335fb4594d0f /layouts
parentc6153ea12b59b43902eeff3c68a32163e5955d3b (diff)
fixed title tags on main pages
Diffstat (limited to '')
-rw-r--r--layouts/blog/list.html1
-rw-r--r--layouts/categories/list.html2
-rw-r--r--layouts/partials/head.html1
-rw-r--r--layouts/reading/list.html1
-rw-r--r--layouts/tags/list.html1
5 files changed, 1 insertions, 5 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 751674b..a2b53d4 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -1,5 +1,4 @@
{{ define "main" }}
-<h2>{{ with .Site.GetPage "section" "blog" }}{{ .Title }}{{ end }}</h2>
{{ .Content }}
diff --git a/layouts/categories/list.html b/layouts/categories/list.html
index 8336025..7dc9d4b 100644
--- a/layouts/categories/list.html
+++ b/layouts/categories/list.html
@@ -2,7 +2,7 @@
<main>
<div>
- <h2>{{ .Title }}</h2>
+ <h3>Blog categories</h3>
<ul>
{{ range .Pages.ByTitle }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a></li>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index da8f4c4..4c5d49c 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -12,6 +12,5 @@
{{ range .Site.Params.custom_css -}}
<link rel="stylesheet" href="{{ . | absURL }}" type="text/css" media="screen">
{{- end}}
-
<title>{{ .Title }}</title>
</head>
diff --git a/layouts/reading/list.html b/layouts/reading/list.html
index 002c5a3..55183ee 100644
--- a/layouts/reading/list.html
+++ b/layouts/reading/list.html
@@ -1,5 +1,4 @@
{{ define "main" }}
-<h3>{{ with .Site.GetPage "section" "reading" }}{{ .Title }}{{ end }}</h3>
{{ .Content }}
diff --git a/layouts/tags/list.html b/layouts/tags/list.html
index 90627d4..38c3b6b 100644
--- a/layouts/tags/list.html
+++ b/layouts/tags/list.html
@@ -2,7 +2,6 @@
<main>
<div>
- <h2>{{ .Title }}</h2>
{{ .Content }}
<ul>
{{ range .Pages.ByTitle }}