diff options
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 1 |
2 files changed, 8 insertions, 1 deletions
@@ -10,7 +10,7 @@ git clone https://github.com/fncnt/vncnt-hugo themes/vncnt-hugo ``` Or even better, add this repository as a submodule of your **hugo** website, if you are using `git` for it: ``` -git add submodule https://github.com/fncnt/vncnt-hugo themes/vncnt-hugo +git submodule add https://github.com/fncnt/vncnt-hugo themes/vncnt-hugo ``` ## Configuration @@ -39,6 +39,12 @@ This theme relies on fontawesome. The included files in `static/webfonts` are us The Raleway font files in `static/fonts` are licensed under the SIL Open Font License 1.1 (see `static/fonts/OFL.txt`) +### Tracking + +The theme supports Google Analytics using Hugo's internal templates. To enable +tracking, set the [googleAnalytics](https://gohugo.io/templates/internal/#configure-google-analytics) +and (optionally) [privacy](https://gohugo.io/about/hugo-and-gdpr/#all-privacy-settings) configuration values. + ## Roadmap - add support for blog-like content diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 1f0efdb..8e0d17f 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -1 +1,2 @@ <!-- Scripts --------------------------------––––––––––––––––––––––––––––– --> + {{ template "_internal/google_analytics_async.html" . }} |