diff --git a/layouts/partials/header.html b/layouts/partials/header.html index df4b26b..cdbb11a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,7 +14,7 @@ {{ .Hugo.Generator }} - {{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }} + {{ if and (not .IsHome) .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }} {{ with .Params.goimport }}{{ end }} {{ with .Params.gosource }}{{ end }}