From c4ea326293ad6c3815c97b5ff93483ba6419650e Mon Sep 17 00:00:00 2001 From: Ronald MacDonald Date: Tue, 23 Jun 2020 15:53:07 +0100 Subject: [PATCH] Append home title if on homepage and is home --- layouts/_default/baseof.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 34f0e02f..a240b14c 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ - {{ block "title" . }}{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}{{ end }} + {{ block "title" . }}{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}{{ end }}{{ if and ( .Title ) ( .IsHome ) }} - {{ .Title }}{{ end }} {{- if .Site.Params.opengraph }} @@ -55,4 +55,4 @@ {{- end }} {{- partial "mathjax.html" . -}} - \ No newline at end of file +