diff options
author | Mike Bergeron <shortword@users.noreply.github.com> | 2018-07-04 15:29:28 +0300 |
---|---|---|
committer | Curtis Timson <curt@live.co.uk> | 2018-07-04 15:29:28 +0300 |
commit | 10125d8fe1dae8b95ba3df96c419a369fac3eac5 (patch) | |
tree | 1003b724134796b2d95128664340ab48dec8d3b3 /layouts/index.html | |
parent | 48582c4870a5fc4ff811b2b50ee938365a2d6d21 (diff) |
Use Hugo's internal templates for Google Analytics (GA) (#36)3.0.0
* Use Hugo's internal templates for Google Analytics (GA)
This commit does the following:
* Removes a hardcoded Google Analytics ID
* Converts the layout to use Hugo's internal GA teamplate
* Removes the configuration items from the example site
* Adds a section to the README about what internal templates are
supported.
For more info about the GA internal template, see this URL:
https://gohugo.io/templates/internal/#configure-google-analytics
Signed-off-by: Michael Bergeron <mikeb.code@gmail.com>
* Add Google Analytics config into exampleSite
* Add google analytics template to single.html
* Bump version to 3.0.0
Breaking change based on google analytics configuration
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html index b45fb1c..ae90e4d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -60,6 +60,7 @@ {{ partial "copyright" . }} </div> + {{ template "_internal/google_analytics.html" . }} {{ partial "scripts/index" . }} </body> |