We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6f5504 commit 2e24f0eCopy full SHA for 2e24f0e
layouts/partials/head.html
@@ -62,8 +62,7 @@
62
{{- end -}}
63
<!-- Google Analytics v4 Config -->
64
{{- if not hugo.IsServer }}
65
- {{- if .Site.GoogleAnalytics }}
66
- {{- template "_internal/google_analytics.html" . -}}
+ {{- if .Site.Config.Services.GoogleAnalytics.ID }} {{- template "_internal/google_analytics.html" . -}}
67
68
69
0 commit comments