diff options
| author | Danilo M. <danix@danix.xyz> | 2026-04-17 12:21:47 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-04-17 12:21:47 +0200 |
| commit | 971393bdc893c3096c90f2342cb9bb70ab0e2922 (patch) | |
| tree | 4fd965da02bdcf292042e59677c85b7084d7207f | |
| parent | d98d7b2d669368ce8b1cd135742b6a52c7b8f29b (diff) | |
| download | danixxyz-971393bdc893c3096c90f2342cb9bb70ab0e2922.tar.gz danixxyz-971393bdc893c3096c90f2342cb9bb70ab0e2922.zip | |
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 <noreply@anthropic.com>
| -rw-r--r-- | hugo.toml | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
