Whenever a 404 error hits, Peak will use the content of an actual 404 entry. This includes SEO data like no-index and the page title. This way you can use the full page builder to style (and localize) your 404 page.
By default Peak ships with an entry in the pages collection called
Page not found. In the configuration global you can configure another entry.
There is a
View::composer method in the
app/Providers/AppServiceProvider.php that takes the data from your 404 entry and renders it using the 404 template when a 404 error triggers. Thanks Jason Varga for this!