{{ partial "title.html" . }} {{ with .Keywords }} {{ end }} {{ if and (.IsPage) (eq .Params.private true)}} {{ end }} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .RelPermalink site.Title | safeHTML }} {{ end -}} {{ partial "head/favicons.html" . }} {{ $params := partial "params-helper.html" . }} {{ if or (eq $params.enableColorThemeSwitcher true) (eq $params.colorTheme "auto") }} {{ end }} {{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }} {{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/light.css") }} {{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/dark.css") }} {{ partial "features/custom-css.html" . }} {{ partial "features/custom-js.html" . }} {{ if $params.enableCopyCodeButton }} {{ partial "resource.html" (dict "context" . "type" "js" "filename" "js/copy-code.js") }} {{ end }} {{ range $params.customJS -}} {{ partial "resource.html" (dict "context" $ "type" "js" "filename" . ) }} {{- end }} {{- if isset .Params "canonical" -}} {{- else -}} {{- end }} {{ partial "head-extra.html" . }} {{ if hugo.IsProduction }} {{ if isset $params.services "umami" }} {{ partial "analytics/umami_analytics.html" . }} {{ end }} {{ end }}