From 075aa41ca385074b835cef11dbcc05e633956d33 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 10 Aug 2022 11:51:51 -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..d5c2679 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://docs.xiv.zone/") }} + + {{ end }}