From e92dabc70c1ee318d93c352cd185fd7917c670c8 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Mon, 19 Jun 2017 23:29:34 -0500 Subject: [PATCH] enable Google Analytics --- exampleSite/hugo.yaml | 2 +- exampleSite/layouts/partials/foot_custom.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index b933d55..c3907cb 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -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$", "_cache$"] footnotereturnlinkcontents: "↩" diff --git a/exampleSite/layouts/partials/foot_custom.html b/exampleSite/layouts/partials/foot_custom.html index d8a992a..9cff301 100644 --- a/exampleSite/layouts/partials/foot_custom.html +++ b/exampleSite/layouts/partials/foot_custom.html @@ -2,3 +2,5 @@ + +{{ template "_internal/google_analytics.html" . }}