diff --git a/themes/red/layouts/partials/voting.html b/themes/red/layouts/partials/voting.html index cee66f3..aed0883 100644 --- a/themes/red/layouts/partials/voting.html +++ b/themes/red/layouts/partials/voting.html @@ -4,6 +4,7 @@
...
+{{ if hugo.IsProduction }} {{ $site := resources.Get "js/voting.js" }} {{ if hugo.IsProduction }} {{ $site = $site | minify | fingerprint | resources.PostProcess }} @@ -14,3 +15,4 @@ +{{ end }} \ No newline at end of file