{{- $isBlogPost := eq .Section "blog" }} {{- $ogType := cond (.IsHome) "website" "article" }} {{ hugo.Generator }} {{ if eq (getenv "HUGO_ENV") "production" }} {{ else }} {{ end }} {{ range .AlternativeOutputFormats -}} {{ end -}} {{ partialCached "favicons.html" . }} {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }} {{- template "_internal/opengraph.html" . -}} {{- template "_internal/google_news.html" . -}} {{- template "_internal/schema.html" . -}} {{- template "_internal/twitter_cards.html" . -}} {{ if eq (getenv "HUGO_ENV") "production" }} {{ template "_internal/google_analytics_async.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 }} {{ if eq .Params.mermaid true }} {{ end }} {{ with .Params.js }}{{ range (split . ",") }} {{ end }}{{ else }}{{ end }}