From d8bc79ad2dfb4d70bfe64fa2f349398073b1b0a2 Mon Sep 17 00:00:00 2001 From: Frank Blechschmidt Date: Mon, 22 May 2023 15:58:05 -0700 Subject: Add support for cookie consent and with GA4 --- layouts/_default/baseof.html | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'layouts/_default/baseof.html') 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 }} {{- partial "footer.html" . -}} + + {{ if not .Site.IsServer }} + {{- partial "consent.html" . -}} + {{ end }} -- cgit v1.2.3