Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/budparr/gohugo-theme-ananke.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRegis Philibert <login@regisphilibert.com>2021-06-17 16:21:34 +0300
committerRegis Philibert <login@regisphilibert.com>2021-06-17 16:21:34 +0300
commit6a8f9511aab13ae1096941ae3448a5f260c5ea6e (patch)
tree9f1ce2d7f72dfd96757f5cd23f3a2ae137add069
parent6eb54ab5fd8b4932b0123d1fdf94d8026aa67ef6 (diff)
Fix resource transformation
Fixes #426
-rw-r--r--layouts/partials/func/style/GetMainCSS.html2
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 }}