Revert "Convert print and mobile styles to pure css."
This reverts commit 8e9c7209dc.
This commit is contained in:
parent
119823143e
commit
114e529c48
1 changed files with 12 additions and 7 deletions
|
|
@ -5,8 +5,8 @@
|
|||
{{ $mobile_options := merge $main_options (dict "targetPath" "css/mobilemenu.css") -}}
|
||||
{{ $print_options := merge $main_options (dict "targetPath" "css/print.css") -}}
|
||||
{{ $main_style := resources.Get "sass/styles.scss" | toCSS $main_options -}}
|
||||
{{ $mobile_style := resources.Get "sass/mobilemenu.css" | toCSS $mobile_options -}}
|
||||
{{ $print_style := resources.Get "sass/print.css" | toCSS $print_options -}}
|
||||
{{ $mobile_style := resources.Get "sass/mobilemenu.scss" | toCSS $mobile_options -}}
|
||||
{{ $print_style := resources.Get "sass/print.scss" | toCSS $print_options -}}
|
||||
{{ if ne hugo.Environment "development" -}}
|
||||
{{ $main_style = $main_style | fingerprint -}}
|
||||
{{ $mobile_style = $mobile_style | fingerprint -}}
|
||||
|
|
|
|||
Loading…
Reference in a new issue