diff --git a/astro.config.mjs b/astro.config.mjs index 8e4eaac..c06acf9 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,6 +10,16 @@ export default defineConfig({ site: "https://workaround.org", integrations: [ starlight({ + head: [ + { + tag: "script", + attrs: { + src: "https://rybbit.workaround.org/api/script.js", + "data-site": "1", + defer: true, + }, + }, + ], expressiveCode: { frames: { removeCommentsWhenCopyingTerminalFrames: false, // keep the commented lines when copying shell snippets @@ -55,17 +65,17 @@ export default defineConfig({ }, }), // https://github.com/felix-berlin/astro-matomo - matomo({ - enabled: import.meta.env.PROD, // Only load in production - host: "https://matomo.workaround.org/", - setCookieDomain: "*.workaround.org", - trackerUrl: "js/", // defaults to matomo.php - srcUrl: "js/", // defaults to matomo.js - siteId: 1, - heartBeatTimer: 5, - disableCookies: true, - debug: false, - }), + // matomo({ + // enabled: import.meta.env.PROD, // Only load in production + // host: "https://matomo.workaround.org/", + // setCookieDomain: "*.workaround.org", + // trackerUrl: "js/", // defaults to matomo.php + // srcUrl: "js/", // defaults to matomo.js + // siteId: 1, + // heartBeatTimer: 5, + // disableCookies: true, + // debug: false, + // }), sitemap(), ],