diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index 325a14f01e..636ccde456 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -18,7 +18,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
- hugo-version: '0.83.1'
+ hugo-version: '0.146.6'
extended: true
- name: Build
diff --git a/.github/workflows/hugo-preview.yml b/.github/workflows/hugo-preview.yml
index 0dda5637e4..fbec543fc8 100644
--- a/.github/workflows/hugo-preview.yml
+++ b/.github/workflows/hugo-preview.yml
@@ -12,7 +12,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
- hugo-version: '0.83.1'
+ hugo-version: '0.146.6'
extended: true
- name: Setup base URL env var
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 0f6678c306..fded38488e 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -2,7 +2,7 @@
{{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
- {{- $styles := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "main.scss" . | resources.ToCSS $options | resources.Fingerprint "sha512" }}
+ {{- $styles := resources.Get "scss/main.scss" | resources.ExecuteAsTemplate "main.scss" . | css.Sass $options | resources.Fingerprint "sha512" }}