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
|
@ -2,16 +2,14 @@
|
|||
{{- $links := index $header "links" }}
|
||||
{{ $template := resources.Get "scss/progressbar.scss" }}
|
||||
{{ if $template }}
|
||||
{{ $progressbar := $template | resources.ExecuteAsTemplate "css/progressbar.scss" . | resources.ToCSS (dict
|
||||
"outputStyle" "compressed") | fingerprint }}
|
||||
{{ $progressbar := $template | resources.ExecuteAsTemplate "css/progressbar.scss" . | css.Sass (dict "outputStyle" "compressed") | fingerprint }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $progressbar.RelPermalink }}">
|
||||
{{ end }}
|
||||
<div class="progress"></div>
|
||||
{{ if $header.enabled }}
|
||||
{{ $template := resources.Get "scss/header.scss" }}
|
||||
{{ if $template }}
|
||||
{{ $index := $template | resources.ExecuteAsTemplate "css/header.scss" . | resources.ToCSS (dict "outputStyle"
|
||||
"compressed") | fingerprint }}
|
||||
{{ $index := $template | resources.ExecuteAsTemplate "css/header.scss" . | css.Sass (dict "outputStyle" "compressed") | fingerprint }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $index.RelPermalink }}">
|
||||
{{ end }}
|
||||
<header class="header" id="header">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue