Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fncnt/vncnt-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfncnt <github@vncnt.eu>2019-03-28 13:48:06 +0300
committerfncnt <github@vncnt.eu>2019-03-28 13:48:06 +0300
commit5e01c7d6628c931f2d61d948b39f73b7849ae822 (patch)
tree47ff06f9845c2044a8caefe705b700e9a20f964b
parent32062158ca5a16aa0907f5ba20dfcf429815673f (diff)
parent849ca19b3c289353d889c185630948435c884ca8 (diff)
Rebase on master using manual merge.barebones-css
-rw-r--r--README.md8
-rw-r--r--layouts/partials/scripts.html1
2 files changed, 8 insertions, 1 deletions
diff --git a/README.md b/README.md
index 9846947..3f3ce74 100644
--- a/README.md
+++ b/README.md
@@ -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" . }}