{{- with .Title | default .Site.Title }} {{ . }} {{- end }} {{- if eq .Kind "taxonomyTerm" }} {{- $text := printf "Overview of all pages by %s" .Data.Singular }} {{- $.Scratch.Set "Description" $text }} {{- else if eq .Kind "taxonomy" }} {{- $text := printf "Overview of all pages with the %s #%s" .Data.Singular $.Title }} {{- $.Scratch.Set "Description" $text }} {{- end }} {{- with .Description | default .Params.subtitle | default .Summary | default ($.Scratch.Get "Description") }} {{- end }} {{- with .Site.Params.favicon }} {{- end -}} {{- with .Params.share_img | default .Params.image | default .Site.Params.logo }} {{- end }} {{- with .Site.Author.twitter }} {{- end }} {{- with .Site.Params.fb_app_id }} {{- end }} {{ .Hugo.Generator -}} {{- if .RSSLink }} {{- else }} {{- end }} {{- if .Site.Params.staticman -}} {{- end -}} {{- if .Site.Params.useHLJS }} {{- else -}} {{- end -}} {{- if .Site.Params.staticman.recaptcha -}} {{- end -}} {{- partial "head_custom.html" . }} {{- partial "load-photoswipe-theme.html" . }} {{ template "_internal/google_analytics_async.html" . }}