diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 3c754b2..37e46b4 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -28,13 +28,14 @@
{{ end }}
{{ $template := resources.Get "scss/index.scss" }} {{ if $template }} {{
- $index := $template | resources.ExecuteAsTemplate "css/index.scss" . |
- resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }}
+ $index := $template | resources.ExecuteAsTemplate "css/index.scss" . | css.Sass (dict "outputStyle" "compressed") | fingerprint }}
- {{ end }} {{ block "styling" . }} {{ end }} {{ $template := resources.Get
- "scss/totop.scss" }} {{ if $template }} {{ $totop := $template |
- resources.ExecuteAsTemplate "css/totop.scss" . | resources.ToCSS (dict
- "outputStyle" "compressed") | fingerprint }}
+ {{ end }}
+ {{ block "styling" . }}
+ {{ end }}
+ {{ $template := resources.Get "scss/totop.scss" }}
+ {{ if $template }}
+ {{ $totop := $template | resources.ExecuteAsTemplate "css/totop.scss" . | css.Sass (dict "outputStyle" "compressed") | fingerprint }}
{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 5b8d9a5..62bce8c 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -4,7 +4,7 @@
{{- $links := index $footer "links" }}
{{ $template := resources.Get "scss/footer.scss" }}
{{ if $template }}
-{{ $footer := $template | resources.ExecuteAsTemplate "css/footer.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }}
+{{ $footer := $template | resources.ExecuteAsTemplate "css/footer.scss" . | css.Sass (dict "outputStyle" "compressed") | fingerprint }}
{{ end }}