summaryrefslogtreecommitdiffstats
path: root/content/it
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-17 12:24:04 +0200
committerDanilo M. <danix@danix.xyz>2026-04-17 12:24:04 +0200
commitfe7c7a4841a58dec4b4957e9c9a32aec5adcade6 (patch)
tree52cb0c138c7dcd611766f4dc55cf05be58ed5403 /content/it
parent971393bdc893c3096c90f2342cb9bb70ab0e2922 (diff)
downloaddanixxyz-fe7c7a4841a58dec4b4957e9c9a32aec5adcade6.tar.gz
danixxyz-fe7c7a4841a58dec4b4957e9c9a32aec5adcade6.zip
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 <noreply@anthropic.com>
Diffstat (limited to 'content/it')
-rw-r--r--content/it/404.md5
1 files changed, 5 insertions, 0 deletions
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
+---