diff options
| author | Nick Savage <nick.savage@gohenry.co.uk> | 2024-09-02 20:26:50 +0100 | 
|---|---|---|
| committer | Nick Savage <nick.savage@gohenry.co.uk> | 2024-09-02 20:26:50 +0100 | 
| commit | ce2490688406a70967741cbdd21646df92d04e71 (patch) | |
| tree | 848a9e049524233aa65aacfcab33cd191de56f88 /layouts | |
| parent | 3c6711f6c3b0c2f8fe857414678d85fb3d1e06dc (diff) | |
Enable Umami analytics in Production only
This will prevent analytics collection when testing locally.
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/partials/head.html | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 81d6edd..0a704fd 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -34,8 +34,9 @@  {{ if hugo.IsProduction }}  {{ template "_internal/google_analytics.html" . }} -{{ end }}  {{ if .Site.Params.umami.enable }}  {{ partial "umami.html" . }}  {{ end }} +{{ end }} + | 
