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:
parent
1659ccc2ec
commit
0334ef09a2
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,6 @@ languageCode = 'en-us'
|
||||||
title = 'rockcampbell'
|
title = 'rockcampbell'
|
||||||
|
|
||||||
theme = 'parchment'
|
theme = 'parchment'
|
||||||
googleAnalytics = 'G-LMKPZJ98Y8'
|
|
||||||
|
|
||||||
contentDir = "content"
|
contentDir = "content"
|
||||||
|
|
||||||
|
|
@ -13,6 +12,7 @@ contentDir = "content"
|
||||||
|
|
||||||
[Params]
|
[Params]
|
||||||
description = "Writer, thinker, technologist. Morning briefs, Stoic reflections, self-hosting, and systems thinking."
|
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
|
# Main nav: Posts as a direct link, then an Explore dropdown for everything else
|
||||||
[[menus.main]]
|
[[menus.main]]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue