append site title to page titles

Amolith created

Change summary

themes/secluded/layouts/partials/head.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

themes/secluded/layouts/partials/head.html 🔗

@@ -5,9 +5,9 @@
     {{ block "title" . }}
     <title>
         {{ if .IsHome }}
-            {{ $.Site.Title }} {{ with $.Site.Params.Subtitle }} — {{ . }} {{ end }}
+            {{ $.Site.Title }}
         {{ else }}
-            {{ .Title }} {{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}
+            {{ .Title }} — {{ $.Site.Title }}
         {{ end }}
     </title>
     {{ end }}