Skip to content

Commit 622c217

Browse files
authored
Update head.html
1 parent c661ed1 commit 622c217

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

layouts/partials/head.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@
6161
{{- end -}}
6262
{{- end -}}
6363
<!-- Google Analytics v4 Config -->
64-
{{- if not hugo.IsServer }}
65-
{{- if site.Config.Services.GoogleAnalytics.ID }} {{- template "_internal/google_analytics.html" . -}}
66-
64+
{{- if not hugo.IsServer }}
65+
{{- if .Site.Params.googleAnalytics }}
66+
{{- template "_internal/google_analytics.html" . -}}
6767
{{- end -}}
6868
{{- end -}}
6969

0 commit comments

Comments
 (0)