diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 03a4d7f..3c2d476 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,10 +3,10 @@ {{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} -{{ if eq $url "/" }} +{{ if eq $url "" }} {{ .Site.Title }} {{ else }} - {{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }} + {{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Site.Title }} - {{ .Title }} {{ end }} {{ end }}