Replace deprecated variables .Hugo and .UniqueID with hugo and .File.UniqueID.
This commit is contained in:
parent
57f5e51ce0
commit
6907412c20
1 changed files with 17 additions and 13 deletions
|
|
@ -4,7 +4,7 @@
|
|||
{{ $main_style := resources.Get "sass/styles.scss" | toCSS $main_options | fingerprint -}}
|
||||
{{ $mobile_style := resources.Get "sass/mobile.scss" | toCSS $mobile_options | fingerprint -}}
|
||||
{{ $print_style := resources.Get "sass/print.scss" | toCSS $print_options | fingerprint -}}
|
||||
{{ if eq .Hugo.Environment "dev" -}}
|
||||
{{ if eq hugo.Environment "dev" -}}
|
||||
{{ $main_options = (dict "targetPath" "css/styles.css" "outputStyle" "nested" "enableSourceMap" true "includePaths" (slice "assets/lib/typey/stylesheets")) -}}
|
||||
{{ $mobile_options = (dict "targetPath" "css/mobile.css" "outputStyle" "nested" "enableSourceMap" true "includePaths" (slice "assets/lib/typey/stylesheets")) -}}
|
||||
{{ $print_options = (dict "targetPath" "css/print.css" "outputStyle" "nested" "enableSourceMap" true "includePaths" (slice "assets/lib/typey/stylesheets")) -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue