From f47f9e420eab865860e316d1f380898a362f09e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E6=A2=A6?= <64389500+1804040636@users.noreply.github.com> Date: Sun, 30 Jun 2024 06:52:15 +0800 Subject: [PATCH] fix(layouts/_default/baseof.html):fix google_analytics bug In the new version of Hugo, the old google_analytics_async.html has been deprecated and replaced with the new { template "_internal/google_analytics.html" . }. --- layouts/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6190930b2..b44ee6568 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -42,7 +42,7 @@ {{ partial "seo-schema.html" .}} {{- if not .Site.IsServer -}} - {{ template "_internal/google_analytics_async.html" . }} + {{ template "_internal/google_analytics.html" . }} {{- end -}}