diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 4ae831ab..5f5ddaf2 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -2,7 +2,7 @@ baseurl = "/" languageCode = "en-us" title = "A minimal Hugo website" theme = "hugo-xmin" -googleAnalytics = "" +googleAnalytics = "UA-1988641-2" disqusShortname = "" ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"] footnotereturnlinkcontents = "↩" diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html index 3389d46d..f60b6417 100644 --- a/exampleSite/layouts/partials/foot_custom.html +++ b/exampleSite/layouts/partials/foot_custom.html @@ -2,3 +2,5 @@ + +{{ template "_internal/google_analytics.html" . }}