resources.ToCSS is deprecaed. Use css.Sass
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing

I don't know if they are interchangeable or if there are significant
changes. Let's find out in CI!
This commit is contained in:
Reynir Björnsson 2025-01-10 12:21:49 +01:00
parent bd695b5a8f
commit 8a0a2e1218

View file

@ -20,7 +20,7 @@
{{ template "_internal/twitter_cards.html" . }}
{{ template "_internal/opengraph.html" . }}
{{ $style := resources.Get "static/css/style.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint "sha512" }}
{{ $style := resources.Get "static/css/style.scss" | css.Sass | resources.Minify | resources.Fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
<title>{{ .Title }} | {{ .Site.Title }}</title>