From 2b800ac757efc2768ae18a7e51192cbacef96052 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 10 Aug 2022 11:50:13 -0400 Subject: [PATCH] only run analytics in production --- themes/mytheme/layouts/partials/head.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/mytheme/layouts/partials/head.html b/themes/mytheme/layouts/partials/head.html index 695772a..3f6650c 100644 --- a/themes/mytheme/layouts/partials/head.html +++ b/themes/mytheme/layouts/partials/head.html @@ -34,5 +34,7 @@ - + {{ if and (hugo.IsProduction) (eq .Site.BaseURL "https://xiv.zone/") }} + + {{ end }}