more refactoring of <head>; login -> alpine ajax

This commit is contained in:
Simon Martens
2025-05-29 14:15:02 +02:00
parent 0d0918fb5d
commit cbbfa77865
9 changed files with 86 additions and 160 deletions

View File

@@ -0,0 +1,10 @@
<script type="module">
const hash = window.location.hash;
if (hash) {
const stripped = hash.slice(1);
const element = document.getElementById(stripped);
if (element) {
element.setAttribute("aria-current", "location");
}
}
</script>