From 0334ef09a220a6297bfbf014d43bc5d05893b883 Mon Sep 17 00:00:00 2001 From: Rock Campbell Date: Wed, 29 Jul 2026 14:14:11 +0000 Subject: [PATCH] Fix Google Analytics: move googleAnalytics key into [Params] block Key was set at top level, outside [Params], so .Site.Params.googleAnalytics was always empty and the gtag script never rendered. --- hugo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hugo.toml b/hugo.toml index 4dd6e70..32fd958 100644 --- a/hugo.toml +++ b/hugo.toml @@ -4,7 +4,6 @@ languageCode = 'en-us' title = 'rockcampbell' theme = 'parchment' -googleAnalytics = 'G-LMKPZJ98Y8' contentDir = "content" @@ -13,6 +12,7 @@ contentDir = "content" [Params] description = "Writer, thinker, technologist. Morning briefs, Stoic reflections, self-hosting, and systems thinking." + googleAnalytics = 'G-LMKPZJ98Y8' # Main nav: Posts as a direct link, then an Explore dropdown for everything else [[menus.main]]