feat: disable google analytics in dev environment

This commit is contained in:
aka 2023-12-09 19:22:18 +08:00
parent 3b7043e0b2
commit 067cc8786b

View File

@ -21,6 +21,7 @@
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ . }}" />
{{ end }}
{{- if not .Site.IsServer -}}
{{- template "_internal/google_analytics.html" . -}}
{{- end -}}
{{- partial "head/custom.html" . -}}