From b3104556d838e1412304a78602a41ad3fdd633d9 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 b40489f..ca0320d 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 }}