mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 14:59:45 +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 }}
|
||||
|
||||
<!-- Analytics -->
|
||||
{{- if .Site.GoogleAnalytics -}}
|
||||
{{- if and (not .Site.IsServer) .Site.GoogleAnalytics -}}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{- end -}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue