From c8c674d8f62edf0d7f59d9e13f3f7d264a14d2be Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 19 Mar 2026 12:30:06 +0000 Subject: [PATCH 2/2] Add TermsFeed cookie consent and gate non-essential scripts behind consent Co-authored-by: MCKero6423 <222912022+MCKero6423@users.noreply.github.com> --- src/components/Footer.astro | 3 ++- src/components/comment/Twikoo.astro | 28 ++++++++++++++++++++- src/layouts/Layout.astro | 36 ++++++++++++++++++++++---- src/pages/posts/[...slug].astro | 39 +++++++++++++++++++++-------- 4 files changed, 88 insertions(+), 18 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 32f625a..d9b4907 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -10,7 +10,8 @@ const currentYear = new Date().getFullYear();