From d98d7b2d669368ce8b1cd135742b6a52c7b8f29b Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 17 Apr 2026 12:18:40 +0200 Subject: fix: use language-specific 404 layouts with hardcoded strings Created 404.en.html and 404.it.html with fully hardcoded English and Italian text. Hugo automatically routes language-specific requests to the correct layout. No i18n, no hacks, just simple and direct. Co-Authored-By: Claude Haiku 4.5 --- themes/danix-xyz-hacker/layouts/404.it.html | 151 ++++++++++++++++++++++++++++ 1 file changed, 151 insertions(+) create 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 new file mode 100644 index 0000000..3b4ea2e --- /dev/null +++ b/themes/danix-xyz-hacker/layouts/404.it.html @@ -0,0 +1,151 @@ +{{ 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