From fcda00b8238a8eb0a5fd033400770687704ff810 Mon Sep 17 00:00:00 2001 From: Amolith Date: Fri, 20 Jan 2023 18:52:01 -0500 Subject: [PATCH] append site title to page titles --- themes/secluded/layouts/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/secluded/layouts/partials/head.html b/themes/secluded/layouts/partials/head.html index 08f4db4..67d0a6f 100644 --- a/themes/secluded/layouts/partials/head.html +++ b/themes/secluded/layouts/partials/head.html @@ -5,9 +5,9 @@ {{ block "title" . }} {{ if .IsHome }} - {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }} + {{ $.Site.Title }} {{ else }} - {{ .Title }} {{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }} + {{ .Title }} — {{ $.Site.Title }} {{ end }} {{ end }}