From 65de40e3cc013395415a7204d065e53df85e23c1 Mon Sep 17 00:00:00 2001 From: noxil Date: Tue, 17 Sep 2024 13:28:50 +0200 Subject: [PATCH] fix(head): don't append page title --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 360b016..1ba39dd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@ {{/* Overwriting the theme partial to set custom meta tags, reduce css and remove unused components. */}} - {{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }} + {{ if .Params.Title }}{{ .Params.Title }} {{ else }} {{ .Site.Title }} {{ end }} {{- if not hugo.IsProduction }} {{- end }}