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 }}
|
{{ if hugo.IsProduction }}
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
{{ if .Site.Params.umami.enable }}
|
{{ if .Site.Params.umami.enable }}
|
||||||
{{ partial "umami.html" . }}
|
{{ partial "umami.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user