{{- $path := (strings.TrimPrefix "/" (printf `%s/css/meme.min.css` .Site.LanguagePrefix)) -}} {{- $options := (dict "targetPath" $path "outputStyle" "compressed") -}} {{- $style := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate (printf "%s/styles/main-rendered.scss" .Lang) . | resources.ToCSS $options -}} {{- if .Site.Params.enableFingerprint -}} {{- $style = $style | resources.Fingerprint -}} {{- else -}} {{- end -}}