{{- $author := index .Site.Data ((or .Params.author .Site.Author.default.title) | default "default") -}} {{- 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 -}}