{{ partial "title.html" . }} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ partial "resource.html" (dict "context" . "type" "css" "filename" "css/main.css") }} {{ range .Site.Params.customJS -}} {{ partial "resource.html" (dict "context" $ "type" "js" "filename" . ) }} {{- end }} {{ template "_internal/opengraph.html" . }} {{ template "_internal/twitter_cards.html" . }} {{ 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 }} {{ partial "head-extra.html" . }}