Not found
A not-found file answers every unmatched path in its folder and below.
A not-found.mdx file answers every unmatched path in its folder and below, with status 404.
sites/www/not-found.mdxevery unmatched pathblog/not-found.mdxunmatched paths under /blog
Reference
MDX, like a Page, with no frontmatter keys of its own. The nearest file up the tree answers.
Examples
Minimal
That page does not exist.Leaseline
That page moved or never existed.
<CallToAction heading="See pricing" action="/pricing" />What it builds
The SiteBuilder compiles it into the 404 Page for its subtree.
- a
Pageof kindnot-found, served with status 404 and its Markdown twin - a Metric count of misses by path, so a broken link shows on the Site's Dashboard
Good to know
- Every Site has a generated one until a file overrides it.