resources.ToCSS is deprecaed. Use css.Sass
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:
parent
bd695b5a8f
commit
8a0a2e1218
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue