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/_default/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c974111..96874c4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,7 +11,7 @@ {{- partial "footer.html" . -}} - {{ if and (not .Site.IsServer) .Site.Data.consent }} + {{ if and (not hugo.IsServer) .Site.Data.consent }} {{- partial "consent.html" . -}} {{ end }} -- cgit v1.2.3