From 601d18c11e730c6870e4d1aa1470e05a6f1b0575 Mon Sep 17 00:00:00 2001 From: luaneko Date: Wed, 4 Dec 2024 14:47:49 +1100 Subject: [PATCH] Replace goattracker with umami --- src/layouts/index.astro | 6 +++--- src/pages/index.astro | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/layouts/index.astro b/src/layouts/index.astro index 3cb2532..94f67e9 100644 --- a/src/layouts/index.astro +++ b/src/layouts/index.astro @@ -23,9 +23,9 @@ const { title, className } = Astro.props; + defer + src="https://stat.lua.re/re.js" + data-website-id="7d601566-3611-444c-800f-d351e266c02d"> {title ?? "lua.re"} diff --git a/src/pages/index.astro b/src/pages/index.astro index 5f238d7..81484e2 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,7 +9,7 @@ const socials = [ const services = [ ["Gitea", "git"], ["Roundcube", "mail"], - ["Goatcounter", "stat"], + ["Umami", "stat", "https://stat.lua.re/share/ZxbryfOdLBv98K8k/lua.re"], ]; services.sort(([_a, a], [_b, b]) => a.length - b.length || a.localeCompare(b)); @@ -25,8 +25,8 @@ services.sort(([_a, a], [_b, b]) => a.length - b.length || a.localeCompare(b)); {socials.map(([name, text, href]) => ( <>ใƒป:ใ€‚{text} ))} -{services.map(([name, sub], i) => ( -<>{i ? " ยท " : ""}{sub} +{services.map(([name, sub,href], i) => ( +<>{i ? " ยท " : ""}{sub} ))} ๐Ÿก ๐ŸŒธ ๐ŸŽ€ ๐ŸŒ™