]> danix's work - danix.xyz-2.git/commit
fix: detect language server-side in 404 template for proper translations
authorDanilo M. <redacted>
Fri, 17 Apr 2026 09:56:14 +0000 (11:56 +0200)
committerDanilo M. <redacted>
Fri, 17 Apr 2026 09:56:14 +0000 (11:56 +0200)
commitb25385f7313edce6191a038dc906d88d6b26c7a3
treefdb20628b6dbc9f12d886e25f982f63192e4ba2e
parenta9ae07aea8ab7d9e9b3440bcb90de2ac8163f55e
fix: detect language server-side in 404 template for proper translations

Added language detection at template level to determine language from permalink
and build translation dictionary. All i18n strings now use language-aware
translations instead of relying on .Lang context which isn't available in
404 handler.

Co-Authored-By: Claude Haiku 4.5 <redacted>
themes/danix-xyz-hacker/layouts/404.html