{{ template "_internal/google_analytics.html" . }} {{ $defaultStyles := resources.Get "css/style.css" }} {{ if (isset .Params "color") }} {{ $localColorCss := resources.Get (printf "css/color/%s.css" .Params.color) }} {{ $localCss := slice $defaultStyles $localColorCss | resources.Concat (printf "css/%s-local.css" .Params.color) }} {{ $localColorStyles := $localCss | resources.ToCSS | resources.PostCSS }} {{ else }} {{ $colorCss := resources.Get (printf "css/color/%s.css" ($.Site.Params.ThemeColor | default "orange")) }} {{ $css := slice $defaultStyles $colorCss | resources.Concat "css/base.css" }} {{ $options := (dict "targetPath" "style.css" "outputStyle" "compressed" "enableSourceMap" true "precision" 6 "includePaths" (slice "node_modules")) }} {{ $styles := $css | resources.ToCSS $options | resources.PostCSS }} {{ 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" . }}