{{ hugo.Generator }} {{- $outputFormat := partial "outputformat.html" . -}} {{ range .AlternativeOutputFormats -}} {{ end -}} {{ if and hugo.IsProduction (ne $outputFormat "print") -}} {{ else -}} {{ end -}} {{ partialCached "favicons.html" . }} {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }} {{ if .Page.Description }} {{ else }} {{ $desc := (.Page.Content | safeHTML | truncate 150) }} {{ end }} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/google_news.html" . -}} {{- template "_internal/schema.html" . -}} {{- template "_internal/twitter_cards.html" . -}} {{ partialCached "head-css.html" . "asdf" }} {{ if .Site.Params.offlineSearch }} {{end}} {{ if .Site.Params.prism_syntax_highlighting }} {{ end }} {{ partial "hooks/head-end.html" . }} {{ if hugo.IsProduction }} {{ if hasPrefix .Site.GoogleAnalytics "G-"}} {{ template "_internal/google_analytics.html" . }} {{ else }} {{ template "_internal/google_analytics_async.html" . }} {{ end }} {{ end }}