summaryrefslogtreecommitdiffstats
path: root/hugo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'hugo.toml')
-rw-r--r--hugo.toml10
1 files changed, 10 insertions, 0 deletions
diff --git a/hugo.toml b/hugo.toml
index f5019c0..4913f63 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -124,3 +124,13 @@ enableRobotsTXT = true
label = "Tech"
color_dark = "#a855f7"
color_light = "#7c3aed"
+
+[[redirects]]
+ from = '/it/**'
+ to = '/it/404.html'
+ status = 404
+
+[[redirects]] # Default language should be last.
+ from = '/**'
+ to = '/404.html'
+ status = 404 \ No newline at end of file