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
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
{{ template "_internal/opengraph.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 }}">
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
||||||
|
|
||||||
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
<title>{{ .Title }} | {{ .Site.Title }}</title>
|
||||||
|
|
Loading…
Add table
Reference in a new issue