Skip to content

Commit

Permalink
Showing 3 changed files with 20 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/content/404/_index.md

This file was deleted.

14 changes: 14 additions & 0 deletions docs/content/en/404/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Page Not Found
weight: 100
menu:
main:
weight: 20
type: docs
cascade:
type: docs
---

The page can't be found.

Please try the search on the top to look for it or go back to [the homepage](/).
6 changes: 6 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# https://docs.netlify.com/routing/redirects/redirect-options/#custom-404-page-handling
[[redirects]]
from = "/*"
to = "/404/"
status = 404

[build]
base = "docs/"
publish = "public/"

0 comments on commit 7e6b2e5

Please sign in to comment.