aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_default/baseof.html2
1 files changed, 1 insertions, 1 deletions
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>