From 94e338677442765b3dfcfc265c4ee078be72df49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20P=C4=99dzich?= Date: Sat, 27 Jul 2024 17:28:05 +0200 Subject: [PATCH] Add analytics script --- src/layouts/BaseLayout.astro | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index a6667a5..5d5b819 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -2,7 +2,8 @@ import '@picocss/pico/css/pico.blue.min.css'; const title = 'Six Degrees of Formula 1'; -const description = 'Get all the shortest paths between two F1 drivers'; +const description = + 'Get all the shortest paths between two F1 drivers and their teammates'; --- @@ -21,6 +22,15 @@ const description = 'Get all the shortest paths between two F1 drivers'; + { + import.meta.env.PROD && ( +