mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 14:40:43 +03:00
dartsass: Fix nilpointer on Close when Dart Sass isn't installed
Fixes #13076
This commit is contained in:
parent
8fcd3c1487
commit
8d017a60fb
2 changed files with 10 additions and 7 deletions
|
@ -70,7 +70,7 @@ hello:
|
|||
other: "Bonjour"
|
||||
-- layouts/index.html --
|
||||
{{ $options := dict "inlineImports" true }}
|
||||
{{ $styles := resources.Get "css/styles.css" | resources.PostCSS $options }}
|
||||
{{ $styles := resources.Get "css/styles.css" | css.PostCSS $options }}
|
||||
Styles RelPermalink: {{ $styles.RelPermalink }}
|
||||
{{ $cssContent := $styles.Content }}
|
||||
Styles Content: Len: {{ len $styles.Content }}|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue