Skip to content

Commit

Permalink
Fix compatibility with Hugo v0.125.0
Browse files Browse the repository at this point in the history
`google_analytics_async.html` is now removed from Hugo and the regular
template should be used.
Hugo pull-request: [#12299](gohugoio/hugo#12299)

Without this change, it is not possible to build with Hugo
v0.125.0 or later.
  • Loading branch information
Oscar Aurin committed Apr 19, 2024
1 parent 895aba1 commit 40f4c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</div>
</footer>
{{ if not .Site.IsServer }}
{{ template "_internal/google_analytics_async.html" . }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}

{{- if (isset .Site.Params "social") -}}
Expand Down

0 comments on commit 40f4c2d

Please sign in to comment.