From 6dcbdd1677d5c21fb2dbbc4c0b7c0f466177827e Mon Sep 17 00:00:00 2001 From: Tim Bannister <193443691+lmktfy@users.noreply.github.com> Date: Thu, 7 Aug 2025 20:51:17 +0100 Subject: [PATCH] Fix bug where some pages had two s Avoid having a <title> element twice in the <head> of some pages (documentation and blog sections). --- layouts/blog/baseof.html | 1 - layouts/docs/baseof.html | 1 - 2 files changed, 2 deletions(-) diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html index d28bed2f87..b092739168 100644 --- a/layouts/blog/baseof.html +++ b/layouts/blog/baseof.html @@ -5,7 +5,6 @@ <link rel="canonical" href="{{ . }}"> {{ end }} {{ partial "head.html" . }} - <title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}
diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index bf306fee0d..654733abf3 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -2,7 +2,6 @@ {{ partial "head.html" . }} - {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}