From 94a11324999f07feff138364633e8442947b628a Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 17 Apr 2026 11:58:02 +0200 Subject: fix: use language-specific 404 layouts for proper i18n support Created separate 404.html layouts in themes/danix-xyz-hacker/layouts/it/ and themes/danix-xyz-hacker/layouts/en/ with hardcoded language-specific links. Hugo automatically routes language requests to the correct layout, enabling proper i18n context and translations. Removed generic 404.html and all JavaScript detection hacks. Co-Authored-By: Claude Haiku 4.5 --- content/it/404.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 content/it/404.md (limited to 'content/it') diff --git a/content/it/404.md b/content/it/404.md new file mode 100644 index 0000000..ce95b59 --- /dev/null +++ b/content/it/404.md @@ -0,0 +1,5 @@ +--- +title: "404" +outputs: + - html +--- -- cgit v1.2.3