From 40f4c2d4223905de26809dd9f6212acb0f297a1e Mon Sep 17 00:00:00 2001 From: Oscar Aurin Date: Fri, 19 Apr 2024 08:01:06 +0200 Subject: [PATCH] Fix compatibility with Hugo v0.125.0 `google_analytics_async.html` is now removed from Hugo and the regular template should be used. Hugo pull-request: [#12299](https://github.com/gohugoio/hugo/pull/12299) Without this change, it is not possible to build with Hugo v0.125.0 or later. --- layouts/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b453bff..b84cd91 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -11,7 +11,7 @@ {{ if not .Site.IsServer }} -{{ template "_internal/google_analytics_async.html" . }} +{{ template "_internal/google_analytics.html" . }} {{ end }} {{- if (isset .Site.Params "social") -}}