Theme: Update for hugo 0.153: switch to dart-sass

libsass will be deprecated in hugo v0.153.

Also fix some SASS 2.0 deprecation notices in our scss files
This commit is contained in:
jtbx 2026-05-23 20:02:55 +02:00
commit ffce3b232c
3 changed files with 21 additions and 11 deletions

View file

@ -1,5 +1,5 @@
{{- $cssOptionsMain := dict "transpiler" "libsass" "targetPath" "css/style.css" -}}
{{- $cssOptionsPico := dict "transpiler" "libsass" "targetPath" "css/pico.css" -}}
{{- $cssOptionsMain := dict "transpiler" "dartsass" "targetPath" "css/style.css" -}}
{{- $cssOptionsPico := dict "transpiler" "dartsass" "targetPath" "css/pico.css" -}}
{{- $jsResources := resources.Match "js/*.js" }}
<meta name="viewport" content="width=device-width, initial-scale=1.0">