mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 23:09:47 +00:00
feat(scripts): disable google analytics on localhost (#123)
This commit is contained in:
parent
8a727486e8
commit
915174fdba
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
<!-- Analytics -->
|
<!-- Analytics -->
|
||||||
{{- if .Site.GoogleAnalytics -}}
|
{{- if and (not .Site.IsServer) .Site.GoogleAnalytics -}}
|
||||||
{{ template "_internal/google_analytics_async.html" . }}
|
{{ template "_internal/google_analytics_async.html" . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue