mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 13:39:55 +03:00
Enable Umami analytics in Production only
This will prevent analytics collection when testing locally.
This commit is contained in:
parent
b64eb091f4
commit
26232b2879
1 changed files with 2 additions and 1 deletions
|
@ -34,8 +34,9 @@
|
|||
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.umami.enable }}
|
||||
{{ partial "umami.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue