mirror of https://github.com/onweru/compose.git

James Bromberger
12.00.2024 ac5da63ba46e6d0c70514031f183fed597425b96
Use css.Sass instead of resources.ToCSS due to deprecation in Hugo
1 files modified
2 ■■■ changed files
layouts/partials/head/index.html 2 ●●● patch | view | raw | blame | history
layouts/partials/head/index.html
@@ -19,7 +19,7 @@
{{- partial "opengraph" . -}}
{{- $options := (dict "targetPath" "css/styles.css" "outputStyle" "compressed" "enableSourceMap" "true") -}}
{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | resources.ToCSS $options | resources.Fingerprint "sha512" }}
{{- $styles := resources.Get "sass/main.sass" | resources.ExecuteAsTemplate "main.sass" . | css.Sass $options | resources.Fingerprint "sha512" }}
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}">
{{- $config := site.Params }}