diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ebaab67a..688d1549 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,6 +10,10 @@ {{- if .IsHome -}} {{ .Site.Title -}} + {{ else if eq .Kind "page" -}} + {{ with .Title }}{{ . }} – {{ end -}} + {{ $sectionTitle := index .Site.Params.sectionsTitles .Section }} + {{ $sectionTitle | default .Site.Title }} {{ else -}} {{ with .Title }}{{ . }} – {{ end -}} {{ .Site.Title -}}