From 7ab58cd056974d8c122fa0d9717262caa0ff1ee9 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 28 Mar 2023 17:39:17 -0400 Subject: [PATCH] Disable voting during development --- themes/red/layouts/partials/voting.html | 2 ++ 1 file changed, 2 insertions(+) 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