{{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{- $style := "light" -}} {{- if and (isset site.Params "style") (ne site.Params.style "") -}} {{- $style = site.Params.style | lower -}} {{- end -}} {{- if eq $style "dark" -}} {{- else -}} {{- end -}} {{ range .Site.Params.customCSS -}} {{- end }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} {{ template "_internal/google_analytics_async.html" . }} {{ end }} {{ partial "head-extra.html" . }}