summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorFrancesco Tomaselli <tomaselli.fr@gmail.com>2024-09-02 22:53:31 +0200
committerGitHub <noreply@github.com>2024-09-02 22:53:31 +0200
commitaafdd813d7e7d169f64a3081ed6fecd8f6f72569 (patch)
tree139f14854ad890a98494fef7d9ad53675976343d /layouts
parent13bb965eece805f795397fd7548c2458f96c7935 (diff)
parentce2490688406a70967741cbdd21646df92d04e71 (diff)
Merge pull request #19 from vxnick/umami-for-production
Enable Umami analytics in Production only
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/head.html3
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 }}
+