Merge pull request #19 from vxnick/umami-for-production

Enable Umami analytics in Production only

Former-commit-id: 8ff754e94f
Former-commit-id: e6c07e51f3a31248e2d302ca2b8981fd9e9cf507
This commit is contained in:
Francesco Tomaselli 2024-09-02 22:53:31 +02:00 committed by GitHub
commit a0097939de

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 }}