Skip to content

Commit e0bd349

Browse files
authored
Merge pull request #1 from rickyhewitt/rickyhewitt-patch-1
Fix issue monkeyWzr#147
2 parents 19cfb80 + ff565da commit e0bd349

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

layouts/partials/head.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,7 @@
4242
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
4343
{{ end }}
4444
{{ end }}
45-
{{ if .Site.GoogleAnalytics }}
46-
{{ if .Site.Params.googleAnalyticsAsync }}
47-
{{ template "_internal/google_analytics_async.html" . }}
48-
{{ else }}
45+
{{ if .Site.Config.Services.GoogleAnalytics.ID }}
4946
{{ template "_internal/google_analytics.html" . }}
5047
{{ end }}
51-
{{ end }}
5248
</head>

0 commit comments

Comments
 (0)