Skip to content

Commit 3fa008a

Browse files
authored
Merge pull request #51830 from lmktfy/20250827_fix_duplicated_title
Fix bug where some pages had two title elements
2 parents 686572a + 6dcbdd1 commit 3fa008a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

layouts/blog/baseof.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
<link rel="canonical" href="{{ . }}">
66
{{ end }}
77
{{ partial "head.html" . }}
8-
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
98
</head>
109
<body class="td-{{ .Kind }} td-blog {{- with .Page.Params.body_class }} {{ . }}{{ end }}">
1110
<header>

layouts/docs/baseof.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<html lang="{{ .Site.Language.Lang }}" class="no-js" dir="{{ or .Site.Language.LanguageDirection `ltr` }}">
33
<head>
44
{{ partial "head.html" . }}
5-
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
65
</head>
76
<body class="td-{{ .Kind }}{{ with .Page.Params.body_class }} {{ . }}{{ end }}">
87
<header>

0 commit comments

Comments
 (0)