diff options
author | Regis Philibert <login@regisphilibert.com> | 2021-06-17 16:21:34 +0300 |
---|---|---|
committer | Regis Philibert <login@regisphilibert.com> | 2021-06-17 16:21:34 +0300 |
commit | 6a8f9511aab13ae1096941ae3448a5f260c5ea6e (patch) | |
tree | 9f1ce2d7f72dfd96757f5cd23f3a2ae137add069 /layouts | |
parent | 6eb54ab5fd8b4932b0123d1fdf94d8026aa67ef6 (diff) |
Fix resource transformation
Fixes #426
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/func/style/GetMainCSS.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 }} |