CHANGE sass function the comply to >0.128 hugo
This commit is contained in:
parent
01dcf04b8a
commit
470eb1a169
5 changed files with 12 additions and 14 deletions
|
@ -10,8 +10,7 @@
|
|||
{{end}}
|
||||
{{ $template := resources.Get "scss/hero.scss" }}
|
||||
{{ if $template }}
|
||||
{{ $index := $template | resources.ExecuteAsTemplate "css/hero.scss" . | resources.ToCSS (dict "outputStyle"
|
||||
"compressed") | fingerprint }}
|
||||
{{ $index := $template | resources.ExecuteAsTemplate "css/hero.scss" . | css.Sass (dict "outputStyle" "compressed") | fingerprint }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $index.RelPermalink }}">
|
||||
{{ end }}
|
||||
<div id="{{ $id }}" class="section {{if eq $odd 0}} section-even {{end}} row hero">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue