diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-06 00:17:05 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-07-06 00:19:59 +0200 |
| commit | 638903353764fbcfc44b19f1d444d3b8060bcaa2 (patch) | |
| tree | 1e56c281620f4b0bc5b1ef115d879c5ff3bb4f75 /exampleSite/config.toml | |
| parent | 706c532f81fc6ad7f863ae4fd30b0291cb377f7e (diff) | |
| download | gohugo-theme-ed-638903353764fbcfc44b19f1d444d3b8060bcaa2.tar.gz | |
Load ga.js only on production mode
Diffstat (limited to 'exampleSite/config.toml')
| -rw-r--r-- | exampleSite/config.toml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e456f66..d5c17c9 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -28,6 +28,8 @@ refLinksErrorLevel = 'WARNING' disableKinds = ['RSS'] # Google Analytics Tracking ID. +# Set `HUGO_ENV` environment variable or `site.Params.env` configuration +# parameter to "production" to use Google Analytics. googleAnalytics = '' [minify] |
