From cd0568a1a19dc6af615486643637cc80e2645588 Mon Sep 17 00:00:00 2001 From: justin Date: Sun, 31 Dec 2023 08:15:57 -0500 Subject: [PATCH] google analytics only in prod --- themes/hugoplate/layouts/partials/essentials/head.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/hugoplate/layouts/partials/essentials/head.html b/themes/hugoplate/layouts/partials/essentials/head.html index bfbc9900..89f92cb8 100755 --- a/themes/hugoplate/layouts/partials/essentials/head.html +++ b/themes/hugoplate/layouts/partials/essentials/head.html @@ -39,6 +39,7 @@ {{/* template "_internal/google_analytics.html" . */}} {{/* end */}} +{{ if hugo.IsProduction }} - +{{ end }} {{/* partialCached "gtm.html" . */}}