From 2536b3aabb719711213a60812032ce30f9a6b3d0 Mon Sep 17 00:00:00 2001 From: ranshers Date: Mon, 2 Sep 2024 12:31:01 -0400 Subject: [PATCH] changed partials/head.html for fix for Google analytics change to .Site.Config.Services.GoogleAnalytics.ID --- 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 6f36fbe..d4ab16f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -74,7 +74,7 @@ {{- /* Misc */}} {{- if hugo.IsProduction | or (eq site.Params.env "production") }} - {{- if site.GoogleAnalytics }} + {{- if .Site.Config.Services.GoogleAnalytics.ID }} {{- template "_internal/google_analytics.html" . }} {{- end -}} {{- if site.Params.useCustomAnalytics }}