Use css.Sass instead of resources.ToCSS
WARN deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead. Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
This commit is contained in:
parent
be2014bf8c
commit
ae3f16bd93
3 changed files with 3 additions and 3 deletions
|
|
@ -25,7 +25,7 @@
|
|||
{{ $stylesheetFonts := resources.Get "css/fonts.css" }}
|
||||
{{ $stylesheetGeneric := resources.Get "css/generic.css" }}
|
||||
|
||||
{{ $stylesheetScreen := ( resources.Get "css/_index.scss" | resources.ToCSS ) }}
|
||||
{{ $stylesheetScreen := ( resources.Get "css/_index.scss" | css.Sass ) }}
|
||||
|
||||
{{ $stylesheet := slice $stylesheetNormalize $stylesheetFA $stylesheetFonts $stylesheetGeneric $stylesheetScreen | resources.Concat "css/style.css" | resources.Minify | resources.Fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $stylesheet.RelPermalink }}" type="text/css" integrity="{{ $stylesheet.Data.Integrity }}" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue