From 47edbd499f2db5e8bc51158b91e9c5e90a8dda99 Mon Sep 17 00:00:00 2001 From: Bryan Oliver Date: Fri, 13 Sep 2024 22:04:37 -0400 Subject: [PATCH] fix google analytics deprecation --- themes/cactus/layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/cactus/layouts/partials/head.html b/themes/cactus/layouts/partials/head.html index 96c0ea7..6bc7ff6 100644 --- a/themes/cactus/layouts/partials/head.html +++ b/themes/cactus/layouts/partials/head.html @@ -41,7 +41,7 @@ {{ printf `` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }} {{ end }} {{ end }} - {{ if .Site.GoogleAnalytics }} + {{ if .Site.Config.Services.GoogleAnalytics.ID }} {{ template "_internal/google_analytics.html" . }} {{ end }}