From c6cebb82c5fc32a59c4dc651b4f4d001b54988a8 Mon Sep 17 00:00:00 2001 From: Patrick Neff Date: Tue, 8 Jan 2019 05:11:09 +0100 Subject: [PATCH] Add Template parsing to scss --- themes/neff/layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/neff/layouts/partials/head.html b/themes/neff/layouts/partials/head.html index 1dd9aa7..18167cd 100755 --- a/themes/neff/layouts/partials/head.html +++ b/themes/neff/layouts/partials/head.html @@ -11,6 +11,6 @@ {{- if .Site.IsServer -}} {{- $options := (dict "targetPath" "css/style.css" "enableSourceMap" true) -}} {{- end -}} -{{- $sass := resources.Get "scss/main.scss" | resources.ToCSS $options | resources.PostCSS -}} +{{- $sass := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "scss/bundle.scss" . | resources.ToCSS $options | resources.PostCSS -}} {{- $sass = $sass | resources.Fingerprint -}}