{{- $isBlogPost := eq .Section "blog" }} {{- $ogType := cond (.IsHome) "website" "article" }} {{- if hugo.IsProduction -}} {{- else -}} {{- end -}} {{ range .Translations -}} {{ end -}} {{ if .Params.canonicalUrl }} {{ else }} {{ end }} {{ hugo.Generator }} {{ range .AlternativeOutputFormats -}} {{ end -}} {{ partialCached "favicons.html" . }} {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/schema.html" . -}} {{- template "_internal/twitter_cards.html" . -}} {{- if hugo.IsProduction -}} {{ template "_internal/google_analytics.html" . }} {{ end }} {{ partialCached "head-css.html" . "asdf" }} {{ if and (.Site.Params.offlineSearch) (not .Site.Params.gcs_engine_id) }} {{end}} {{ partial "hooks/head-end.html" . }} {{ partial "css.html" . }} {{ if $isBlogPost }} {{ with findRE "" .Content 1 }} {{ end }} {{ else }} {{ end }} {{ with .Params.js }}{{ range (split . ",") }} {{ end }}{{ else }}{{ end }}