From 14e03301ea8dee9b2dc30ae1f3fb78ab6408d3ff Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 26 Jul 2022 17:12:52 +0100 Subject: fixed title tags on main pages --- layouts/blog/list.html | 1 - layouts/categories/list.html | 2 +- layouts/partials/head.html | 1 - layouts/reading/list.html | 1 - layouts/tags/list.html | 1 - 5 files changed, 1 insertion(+), 5 deletions(-) (limited to 'layouts') 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" }} -

{{ with .Site.GetPage "section" "blog" }}{{ .Title }}{{ end }}

{{ .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 @@
-

{{ .Title }}

+

Blog categories

    {{ range .Pages.ByTitle }}
  • {{ .Title }}
  • 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 -}} {{- end}} - {{ .Title }} 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" }} -

    {{ with .Site.GetPage "section" "reading" }}{{ .Title }}{{ end }}

    {{ .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 @@
    -

    {{ .Title }}

    {{ .Content }}
      {{ range .Pages.ByTitle }} -- cgit v1.2.3