From 9f1f88d8e7d8921528f700c7b6c3b41f4ca28813 Mon Sep 17 00:00:00 2001 From: Gaurav Harsha Date: Thu, 21 Aug 2025 11:07:10 -0400 Subject: [PATCH] fix GoogleAnalytics error --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d7fd03b..c05e93b 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,7 +33,7 @@ - {{- if and (eq hugo.Environment "production") (or .Site.GoogleAnalytics .Site.Config.Services.GoogleAnalytics.ID) }} + {{- if and (eq hugo.Environment "production") .Site.Config.Services.GoogleAnalytics.ID }} {{ partial "google-analytics.html" . }} {{- end }}