Custom 404 error page with Hugo

Hi !

It works :partying_face: :partying_face: :partying_face:

Here what i did.

netlify.toml

[[redirects]]
  from = "/*"
  to = "/en/404.html"
  status = 404

[[redirects]]
  from = "/en/*"
  to = "/en/404.html"
  status = 404

[[redirects]]
  from = "/fr/*"
  to = "/fr/404.html"
  status = 404

layouts/page/404.html

{{ define "main" }}
  <p>404: Beautiful content</p>
{{ end }}

content/en/404.md

---
title: "Error 404"
layout: "404"
translationKey: notFound
---

content/fr/404.md

---
title: "Error 404"
layout: "404"
translationKey: notFound
---