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.
This commit is contained in:
Rock Campbell 2026-07-29 14:14:11 +00:00
parent 1659ccc2ec
commit 0334ef09a2

View file

@ -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]]