{{ template "_internal/google_analytics.html" . }} {{ $css := resources.Get "css/style.css" }} {{ $opts := dict "inlineImports" true }} {{ $style := $css | resources.PostCSS $opts | minify }} {{ if (or (isset .Params "color") (ne $.Site.Params.ThemeColor "orange")) }} {{ $colorCss := resources.Get (printf "css/color/%s.css" (or .Params.color $.Site.Params.ThemeColor)) }} {{ $color := $colorCss | resources.PostCSS $opts | minify }} {{ end }} {{ if (fileExists "static/style.css") -}} {{- end }} {{ if isset $.Site.Params "favicon" }} {{ else }} {{ end }} {{ if (isset $.Site.Params "twitter") }} {{ if (isset $.Site.Params.Twitter "site") }} {{ end }} {{ end }} {{ if and (not .IsHome) (isset .Params "cover") }} {{ else }} {{ if isset $.Site.Params "favicon" }} {{ else }} {{ end }} {{ end }} {{ range .Params.categories }} {{ end }} {{ if isset .Params "date" }} {{ end }} {{ with .OutputFormats.Get "RSS" }} {{ end }} {{ with .OutputFormats.Get "json" }} {{ end }} {{ partial "extended_head.html" . }}