Enable Umami analytics in Production only
This will prevent analytics collection when testing locally.
This commit is contained in:
parent
68babca981
commit
bd7c9edc04
@ -34,8 +34,9 @@
|
||||
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }}
|
||||
|
||||
{{ if .Site.Params.umami.enable }}
|
||||
{{ partial "umami.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user