aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
diff options
context:
space:
mode:
authorFrank Blechschmidt <contact@frank-blechschmidt.com>2023-05-22 15:58:05 -0700
committerFrank Blechschmidt <contact@frank-blechschmidt.com>2023-05-22 16:03:20 -0700
commitd8bc79ad2dfb4d70bfe64fa2f349398073b1b0a2 (patch)
tree342032a176d9f0d88e11012b433e93e7f4c14af6 /layouts/_default/baseof.html
parentbbc9b60f3ac541d1661f7447e1568d76c419d4f9 (diff)
Add support for cookie consent and with GA4
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 237c540..18ea882 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -10,5 +10,9 @@
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
+
+ {{ if not .Site.IsServer }}
+ {{- partial "consent.html" . -}}
+ {{ end }}
</body>
</html>