From feeecf194a66b71c3465098f7da2f54f722c556c Mon Sep 17 00:00:00 2001 From: AJaccP Date: Thu, 15 May 2025 21:47:02 -0400 Subject: [PATCH 1/2] update deprecated resources.ToCSS to css.Sass --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }} Date: Thu, 15 May 2025 21:53:22 -0400 Subject: [PATCH 2/2] update CI hugo version --- .github/workflows/gh-pages.yml | 2 +- .github/workflows/hugo-preview.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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