{{- $defaultTitle := ( printf "%s - %s" .Site.Title .Site.Params.longTitle ) }} {{- $title := .Title | default $defaultTitle }} {{- $description := .Page.Description }} {{- $keywords := .Page.Keywords }} {{- $author := index $.Site.Data.authors (.Page.Params.Author | default .Site.Params.author) }} {{- if .IsHome }} {{ $title = $defaultTitle }} {{ $description = .Site.Params.description }} {{ $keywords = .Site.Params.keywords }} {{- end }} {{- with $description }} {{- end }} {{- with $keywords }} {{- end }} {{- with $author }} {{- end }} {{ $title }} {{- range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{- end }}