{{- $author := index .Site.Data.authors .Section -}} {{- if not (eq .Title $.Site.Title) -}} {{- with $title := or .Title .Summary -}} {{ $title }} — {{ end }} {{- end -}} {{- with $title := $.Site.Title -}} {{- if (in (slice "home" "taxonomy" "term" ) $.Page.Kind) -}} {{ $title }} {{- else -}} {{ $author.title }} {{- end -}} {{- end -}}