Merge pull request #19 from vxnick/umami-for-production
Enable Umami analytics in Production only
This commit is contained in:
commit
8ff754e94f
@ -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