From fe7c7a4841a58dec4b4957e9c9a32aec5adcade6 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 17 Apr 2026 12:24:04 +0200 Subject: fix: use content-based 404 pages with proper language context Created language-specific 404 content pages (content/en/404.md and content/it/404.md) that Hugo renders with the correct language context. Updated redirect rules and created _default/404.html layout that uses i18n properly. Now .Lang is set correctly for translation strings. Co-Authored-By: Claude Haiku 4.5 --- themes/danix-xyz-hacker/layouts/404.it.html | 151 ---------------------------- 1 file changed, 151 deletions(-) delete mode 100644 themes/danix-xyz-hacker/layouts/404.it.html (limited to 'themes/danix-xyz-hacker/layouts/404.it.html') diff --git a/themes/danix-xyz-hacker/layouts/404.it.html b/themes/danix-xyz-hacker/layouts/404.it.html deleted file mode 100644 index 3b4ea2e..0000000 --- a/themes/danix-xyz-hacker/layouts/404.it.html +++ /dev/null @@ -1,151 +0,0 @@ -{{ define "main" }} - - - - -
-
-
- -

- 404 -

- - -

- Pagina Non Trovata -

- -

- Mi dispiace, la pagina che stai cercando non esiste. Prova a cercare o sfoglia gli articoli qui sotto. -

- - -
-
- - -
-
- -
-
- Nessun articolo trovato che corrisponda alla tua ricerca. -
-
- - -
-

Articoli Recenti

-
- {{ range first 5 (where .Site.RegularPages "Section" "articles") }} - - {{ end }} -
-
- - - - - -
- -
- - -
- -
- - -
-

Scegli il Tuo Percorso

- -
- - - -
- - -
-
-
-
-
- -{{ end }} -- cgit v1.2.3