404 (not found)

Having a nice 404 (page not found) page is always nice. This brick provides one. You can see it in action on the custom 404 page.

Use this brick

A page routes to the error404 brick when it is a single section holding an illustration, a heading and a link back home. The whole page looks like this:

---
title: Page not found (404)
---

![](/uploads/illustrations/cuate/error.svg)

# Oops! Something went wrong!

{{< button "Back to home" "/" >}}

Page-specific content

There is no separate content file to override: the brick is the markdown above, so changing the page changes the brick.

Get started with Hugobricks today!

Experience the future of web development with Hugo and stackable content bricks. Build lightning-fast static sites with ease and flexibility.

Get started now