Customise the not-found page with a standard Markdown file.
Create a 404.md file in the docroot to customise the not-found page.
It is processed through the full pipeline including the view template,
giving it the same look as the rest of the site.
---
title: Not Found
---
The page you requested could not be found.
[Return to the home page](/)
The file must be at the docroot root: public_html/404.md. It
generates 404.html which is cached and served for subsequent 404
responses.
When a request matches no .md or .url file, the processor:
404.md in the docroot404.html cache is fresh (mtime check), serves cacheprocess_md with
the full pipeline and view template, caches result404.md does not exist, returns a bare HTML fallback showing
the requested pathThe response always returns HTTP status 404 Not Found regardless of
whether a custom page exists.
---
title: Page not found
subtitle: Sorry, that page doesn't exist.
---
## Nothing here
The page you're looking for may have moved or been removed.
Try the [home page](/) or use the navigation above.
lazysite.conf are available404.md
or delete 404.html to regenerate404.md exists) displays the requested
URI in a <code> tag