Revert "Only convert scss files to css"
This reverts commit 56658a4d27
.
https://github.com/gohugoio/hugo/issues/7207 is merged
This commit is contained in:
parent
dc1b7db986
commit
b9adeb7cd4
1 changed files with 1 additions and 7 deletions
|
@ -1,8 +1,2 @@
|
||||||
{{ $style := resources.Get . }}
|
{{ $style := resources.Get . | toCSS | minify | fingerprint }}
|
||||||
|
|
||||||
{{ if strings.HasSuffix . ".scss" }}
|
|
||||||
{{ $style = toCSS $style }}
|
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ $style = minify $style | fingerprint}}
|
|
||||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" />
|
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" />
|
||||||
|
|
Loading…
Reference in a new issue