{{- hugo.Generator -}} {{- if .Site.Params.googleSiteVerify }} {{- end -}} {{ $style := resources.Get "css/style.css" | resources.Minify | resources.Fingerprint }} {{ if .Params.sidenotes }} {{ $style := resources.Get "css/sidenote.css" | resources.Minify | resources.Fingerprint }} {{ end }} {{- $css := "" -}} {{- range .Site.Params.customCss -}} {{ $css := resources.Get . | fingerprint }} {{- end -}} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} {{ $anatole := resources.Get "js/anatole-header.js" }} {{ $secureJS := $anatole | resources.Minify | resources.Fingerprint }} {{- $js := "" -}} {{- range .Site.Params.customJs -}} {{- if or (in . "http://") (in . "https://") -}} {{- else -}} {{- $customJS := resources.Get . -}} {{- if $customJS -}} {{- if eq $js "" -}} {{- $js = $customJS -}} {{- else -}} {{- $js = slice $js $customJS | resources.Concat "js/custom.js" -}} {{- end -}} {{- end -}} {{- end -}} {{- end -}} {{- if ne $js "" -}} {{- $secureJS := $js | resources.Minify | resources.Fingerprint -}} {{- end -}} {{ template "_internal/twitter_cards.html" . }}