Enable Umami analytics in Production only

This will prevent analytics collection when testing locally.
This commit is contained in:
Nick Savage 2024-09-02 20:26:50 +01:00
parent b64eb091f4
commit 26232b2879

View file

@ -34,8 +34,9 @@
{{ if hugo.IsProduction }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
{{ if .Site.Params.umami.enable }}
{{ partial "umami.html" . }}
{{ end }}
{{ end }}