{{ $styles := slice }} {{ range site.Params.plugins.css }} {{ if findRE "^http" .link }} {{ else }} {{ $styles = $styles | append (resources.Get .link) }} {{ end }} {{ end }} {{ $styles = $styles | append (resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "style.scss" . | toCSS) }} {{ $styles = $styles | resources.Concat "/css/style.css" }} {{ if and hugo.IsProduction site.Params.purge_css }} {{ $styles = $styles | css.PostCSS }} {{ end }} {{ if hugo.IsProduction }} {{ $styles = $styles | minify | fingerprint "sha256" }} {{ end }}