Skip to content

Commit 0f8541a

Browse files
committed
fix(SEO): Use page title as default meta title
1 parent 37e49f1 commit 0f8541a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hugo-modules/core/utils/seo/private/get-data.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@
9494
1. Every pages: `Page title | Global site title`
9595
2. Homepage: only `Global site title` */}}
9696
{{ $title := "" }}
97+
{{ with .Params.title }}
98+
{{ $title = . }}
99+
{{ end }}
97100
{{ with $seo_params.title }}
98101
{{ $title = . }}
99102
{{ end }}

0 commit comments

Comments
 (0)