From 1074bfcae3ab9e1b2a33cd5a986afca2acf87e43 Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Thu, 7 May 2020 20:05:13 +0300 Subject: [PATCH] Add GA info to README. Close #30 --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 14f8829..c055f6d 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,13 @@ In order to see your site in action, run Hugo's built-in local server. Now enter [`localhost:1313`](http://localhost:1313/) in the address bar of your browser. +## Feature Settings + +### Google Analytics +Only works for production environment. You either build your site with variable like +`HUGO_ENV=production hugo --minify` +or just put `env: production` to `params` section of config. + ## Contributing If you find a bug or have an idea for a feature, feel free to write an [issue](https://github.com/mitrichius/hugo-theme-anubis/issues). @@ -74,4 +81,4 @@ See [issues](https://github.com/mitrichius/hugo-theme-anubis/issues). MIT (c) Dmitry Kolosov -2020 \ No newline at end of file +2020