Replace goattracker with umami
All checks were successful
Deploy website / deploy (push) Successful in 14s

This commit is contained in:
luaneko 2024-12-04 14:47:49 +11:00
parent c59f0742f9
commit 601d18c11e
Signed by: luaneko
GPG Key ID: 406809B8763FF07A
2 changed files with 6 additions and 6 deletions

View File

@ -23,9 +23,9 @@ const { title, className } = Astro.props;
<script <script
is:inline is:inline
data-goatcounter="https://stat.lua.re/count" defer
async src="https://stat.lua.re/re.js"
src="//stat.lua.re/count.js"></script> data-website-id="7d601566-3611-444c-800f-d351e266c02d"></script>
<title>{title ?? "lua.re"}</title> <title>{title ?? "lua.re"}</title>
</head> </head>

View File

@ -9,7 +9,7 @@ const socials = [
const services = [ const services = [
["Gitea", "git"], ["Gitea", "git"],
["Roundcube", "mail"], ["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)); 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]) => ( {socials.map(([name, text, href]) => (
<>・:。<small><a href={href} title={name}>{text}</a></small> <>・:。<small><a href={href} title={name}>{text}</a></small>
</>))} </>))}
{services.map(([name, sub], i) => ( {services.map(([name, sub,href], i) => (
<>{i ? " · " : ""}</><small><a href={`https://${sub}.lua.re/`} title={name}>{sub}</a></small> <>{i ? " · " : ""}</><small><a href={href ?? `https://${sub}.lua.re/`} title={name}>{sub}</a></small>
))} ))}
🍡 🌸 🎀 🌙</pre> 🍡 🌸 🎀 🌙</pre>