{{ partial "title.html" . }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ with .Keywords }} {{ end }} {{ if and (.IsPage) (eq .Params.hidden true)}} {{ end }} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ partial "favicons.html" . }} {{ $style := "light-without-switcher" }} {{ if and (isset site.Params "style") (ne site.Params.style "") }} {{ $style = site.Params.style | lower }} {{ end }} {{ if not (in (slice "light-without-switcher" "dark-without-switcher") $style) }} {{end}} {{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }} {{ if .Site.Params.copyCodeButton | default true }} {{ partial "resource.html" (dict "context" . "type" "js" "filename" "js/copy-code.js") }} {{ end }} {{ range .Site.Params.customJS -}} {{ partial "resource.html" (dict "context" $ "type" "js" "filename" . ) }} {{- end }} {{ if isset .Site.Params "webmentions" }} {{ if isset .Site.Params.webmentions "login" }} {{ if eq .Site.Params.webmentions.pingback true }} {{ end }} {{ end }} {{ if isset .Site.Params.webmentions "url" }} {{ end }} {{ end }} {{ if and (.Site.GoogleAnalytics) (hugo.IsProduction) }} {{ template "_internal/google_analytics.html" . }} {{ end }} {{ if (.Site.Params.UmamiAnalytics.enabled ) }} {{ partial "umami_analytics.html" . }} {{ end }} {{ partial "head-extra.html" . }}