From 2ebf452abbc69514ae042b473eb35801d97831d6 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 9 Feb 2025 14:29:43 +0000 Subject: [PATCH] Consent banner should not display in static renderings --- plugins/tiddlywiki/consent-banner/banner.tid | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/tiddlywiki/consent-banner/banner.tid b/plugins/tiddlywiki/consent-banner/banner.tid index e9fcaba07..a20f7665c 100644 --- a/plugins/tiddlywiki/consent-banner/banner.tid +++ b/plugins/tiddlywiki/consent-banner/banner.tid @@ -3,6 +3,8 @@ tags: $:/tags/PageTemplate \whitespace trim +<%if [!match[yes]] %> + <$reveal state="$:/state/consent-banner/accepted" type="match" text="" tag="div"> + +<%endif%> \ No newline at end of file