diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 1027940..dd9d231 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -16,7 +16,7 @@
{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" (not hugo.IsProduction)) }}
{{ $sass := resources.Get "css/main.scss" }}
- {{ $style := $sass | resources.ToCSS $options | resources.Fingerprint "sha512" }}
+ {{ $style := $sass | css.Sass $options | resources.Fingerprint "sha512" }}
{{ if .Params.mathjax }} {{ partial "mathjax.html" . }} {{ end }}