Skip to content

Commit

Permalink
Fix issue monkeyWzr#147
Browse files Browse the repository at this point in the history
_internal/google_analytics_async.html has been deprecated.

Fixes issue: monkeyWzr#141
  • Loading branch information
rickyhewitt authored Sep 22, 2024
1 parent a5df1d6 commit ff565da
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,7 @@
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
{{ end }}
{{ end }}
{{ if .Site.GoogleAnalytics }}
{{ if .Site.Params.googleAnalyticsAsync }}
{{ template "_internal/google_analytics_async.html" . }}
{{ else }}
{{ if .Site.Config.Services.GoogleAnalytics.ID }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
{{ end }}
</head>

0 comments on commit ff565da

Please sign in to comment.