Skip to main content

Module errors

Module errors 

Source
Expand description

A theme’s error pages: what visitors see on a missing page (404), a refused one (403), a server failure (500) or maintenance (503).

Each error_pages entry of theme.json becomes a published page of the built-in Error page type (crate::error_pages) under the home page, hidden from menus and search engines. The theme’s error_page.html template renders it inside the site’s own layout, so a missing URL keeps the header, footer and colours.

Structs§

ErrorPageSeed
One error_pages entry.