CHANGE sass function the comply to >0.128 hugo

This commit is contained in:
Hoernschen 2025-04-17 17:23:28 +02:00
parent 01dcf04b8a
commit 470eb1a169
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
5 changed files with 12 additions and 14 deletions

View file

@ -10,8 +10,7 @@
{{end}}
{{ $template := resources.Get "scss/hero.scss" }}
{{ if $template }}
{{ $index := $template | resources.ExecuteAsTemplate "css/hero.scss" . | resources.ToCSS (dict "outputStyle"
"compressed") | fingerprint }}
{{ $index := $template | resources.ExecuteAsTemplate "css/hero.scss" . | css.Sass (dict "outputStyle" "compressed") | fingerprint }}
<link rel="stylesheet" type="text/css" href="{{ $index.RelPermalink }}">
{{ end }}
<div id="{{ $id }}" class="section {{if eq $odd 0}} section-even {{end}} row hero">