{{ $pf:= site.Data.theme.fonts.font_family.primary }} {{ $sf:= site.Data.theme.fonts.font_family.secondary }} {{ $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/main.scss" | toCSS) }} {{ $styles := $styles | resources.Concat "css/style.css" }} {{ $styles = $styles | resources.PostCSS }} {{ if hugo.IsProduction }} {{ $styles = $styles | resources.ExecuteAsTemplate "css/style.css" . | minify | fingerprint | resources.PostProcess }} {{ else }} {{ $styles = $styles | resources.ExecuteAsTemplate "css/style.css" . }} {{ end }}