From 6c51fdfa3c3ed28f346e0a3865ec3c5cbfd33332 Mon Sep 17 00:00:00 2001 From: jon brookes Date: Mon, 18 Aug 2025 12:48:12 +0100 Subject: [PATCH] Add tracking script to Starlight configuration --- astro.config.mjs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/astro.config.mjs b/astro.config.mjs index 992ce67..941ca87 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,6 +8,16 @@ export default defineConfig({ starlight({ title: 'MinimalViableK8s', social: [{ icon: 'github', label: 'GitHub', href: 'https://codeberg.org/headshed/infctl-cli' }], + head: [ + { + tag: 'script', + attrs: { + defer: true, + 'data-domain': 'mvk.headshed.dev', + src: 'https://stats.headshed.dev/js/script.js' + } + } + ], sidebar: [ { label: 'MVK',