From 0b466d4a22bf8821e8dfc102bb31b1bd580e96c7 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 27 Oct 2026 11:53:26 +0100 Subject: Fix .Site.IsServer with hugo.IsServer Requested by Al, thanks. Note that this has also been fixed in the upstream theme, but this fork had not applied the fix yet. --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 0e97a2c..653327e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -21,7 +21,7 @@ {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} - {{ if not .Site.IsServer }} + {{ if not hugo.IsServer }} {{ template "_internal/google_analytics.html" . }} {{ end }} -- cgit v1.2.3