From 64875ceb2ea943ddcf8153c69e6eb6137b96c049 Mon Sep 17 00:00:00 2001
From: Max <maxlangenkamp@me.com>
Date: Mon, 25 Sep 2023 22:07:55 -0400
Subject: Update baseof.html

hugo researcher theme compilation bug.  (thanks Frank !)
---
 layouts/_default/baseof.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'layouts')

diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 18ea882..c974111 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -11,7 +11,7 @@
         </div>
         {{- partial "footer.html" . -}}
 
-        {{ if not .Site.IsServer }}
+        {{ if and (not .Site.IsServer) .Site.Data.consent }}
         {{- partial "consent.html" . -}}
         {{ end }}
     </body>
-- 
cgit v1.2.3