]> danix's work - danix.xyz-2.git/commit
fix: use client-side language detection for 404 navigation links
authorDanilo M. <redacted>
Fri, 17 Apr 2026 09:47:04 +0000 (11:47 +0200)
committerDanilo M. <redacted>
Fri, 17 Apr 2026 09:47:04 +0000 (11:47 +0200)
commitc353452c544a3184ec66e05fa1743a592543a4d0
tree833fd7865f89a452a2c48e425712862827a7eb7f
parent4ea2790206ca925bcf810c3b10d8c18e44015c61
fix: use client-side language detection for 404 navigation links

Added window.currentLang detection based on request URL path to correctly
route 404 page navigation links for Italian and English versions. Created
notFoundNav() Alpine component to dynamically compute language-aware links
based on detected language.

Co-Authored-By: Claude Haiku 4.5 <redacted>
themes/danix-xyz-hacker/assets/css/main.min.css
themes/danix-xyz-hacker/assets/js/not-found-page.js
themes/danix-xyz-hacker/layouts/404.html