website: redesign part 6

This commit is contained in:
nym21
2026-06-03 18:07:11 +02:00
parent 98bbfec525
commit f41874f438
6 changed files with 255 additions and 23 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ function normalizePath(pathname) {
function updateCurrentLink(pathname) {
const currentPath = normalizePath(pathname);
for (const link of document.querySelectorAll("nav a")) {
for (const link of document.querySelectorAll("body > header > nav a")) {
const linkPath = new URL(/** @type {HTMLAnchorElement} */ (link).href)
.pathname;