Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 622c217

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /