From: Danilo M. Date: Fri, 17 Apr 2026 10:21:47 +0000 (+0200) Subject: restore: re-add 404 redirect rules to hugo.toml X-Git-Tag: release_22042026-1342~126 X-Git-Url: https://git.danix.xyz/?a=commitdiff_plain;h=971393bdc893c3096c90f2342cb9bb70ab0e2922;p=danix.xyz-2.git restore: re-add 404 redirect rules to hugo.toml Restore the redirect rules that route /it/** and /** 404 errors to the appropriate language-specific 404 layout files. Co-Authored-By: Claude Haiku 4.5 --- diff --git a/hugo.toml b/hugo.toml index ab6d43e..364d0d3 100644 --- a/hugo.toml +++ b/hugo.toml @@ -127,10 +127,10 @@ enableRobotsTXT = true [[redirects]] from = '/it/**' - status = 404 to = '/it/404.html' + status = 404 -[[redirects]] # Default language should be last. +[[redirects]] from = '/**' + to = '/404.html' status = 404 - to = '/404.html' \ No newline at end of file