From b9adeb7cd4141ddbd41b64105b69c21e5a730f47 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 28 May 2020 18:00:03 +0100 Subject: [PATCH] Revert "Only convert scss files to css" This reverts commit 56658a4d2702e8f78b56c09b8bfe671dc12f033e. https://github.com/gohugoio/hugo/issues/7207 is merged --- layouts/partials/style.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 51eec69..7012e30 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -1,8 +1,2 @@ -{{ $style := resources.Get . }} - -{{ if strings.HasSuffix . ".scss" }} - {{ $style = toCSS $style }} -{{ end }} - -{{ $style = minify $style | fingerprint}} +{{ $style := resources.Get . | toCSS | minify | fingerprint }}