From 6a8f9511aab13ae1096941ae3448a5f260c5ea6e Mon Sep 17 00:00:00 2001 From: Regis Philibert Date: Thu, 17 Jun 2021 09:21:34 -0400 Subject: [PATCH] Fix resource transformation Fixes #426 --- layouts/partials/func/style/GetMainCSS.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/func/style/GetMainCSS.html b/layouts/partials/func/style/GetMainCSS.html index ef33b1d..7261dae 100644 --- a/layouts/partials/func/style/GetMainCSS.html +++ b/layouts/partials/func/style/GetMainCSS.html @@ -41,7 +41,7 @@ css asset directory we add to aforementioned slice */}} {{ $style = $style | resources.ToCSS $options | minify }} {{/* We fingerprint in production for cache busting purposes */}} {{ if eq (getenv "HUGO_ENV") "production" }} - {{ $style = . | fingerprint }} + {{ $style = $style | fingerprint }} {{ end }} {{/* We're ready to set returning variable with resulting resource */}} {{ $main_style = $style }}