From ec2edd7ba5708a91c841b3eb3c9a991672e71669 Mon Sep 17 00:00:00 2001 From: Noah Lancien Date: Tue, 1 Sep 2026 13:52:34 +0200 Subject: [PATCH] fix: updated head tags + cookie-notice config to include matomo variables --- config/cookie-notice.php | 9 +++++++++ resources/ts/front/Components/Layout/Head.tsx | 8 ++------ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 config/cookie-notice.php diff --git a/config/cookie-notice.php b/config/cookie-notice.php new file mode 100644 index 0000000..2b3b2ff --- /dev/null +++ b/config/cookie-notice.php @@ -0,0 +1,9 @@ + [ + 'site_id' => env('MATOMO_SITE_ID') + ] +]; diff --git a/resources/ts/front/Components/Layout/Head.tsx b/resources/ts/front/Components/Layout/Head.tsx index 01f785a..d050bbb 100644 --- a/resources/ts/front/Components/Layout/Head.tsx +++ b/resources/ts/front/Components/Layout/Head.tsx @@ -34,12 +34,8 @@ export default function Head({ title, description }: HeadProps) { - {description && ( - <> - - - - )} + {description && } + {description && } {breadcrumbs && breadcrumbs.length > 0 && (