hugolib: Deprecate .Site.GoogleAnalytics

Use .Site.Config.Services.GoogleAnalytics.ID instead.
This commit is contained in:
Joe Mooring
2023-10-16 11:31:09 -07:00
committed by Bjørn Erik Pedersen
parent d4016dd5cd
commit a692278bc6
7 changed files with 55 additions and 26 deletions

View File

@@ -38,9 +38,6 @@ All the methods below, e.g. `.Site.RegularPages` can also be reached via the glo
.Site.DisqusShortname
: a string representing the shortname of the Disqus shortcode as defined in the site configuration.
.Site.GoogleAnalytics
: a string representing your tracking code for Google Analytics as defined in the site configuration.
.Site.Home
: reference to the homepage's [page object](/variables/page/)