Skip to content

Commit

Permalink
docs: Remove note about hugo server not using 404 (#2068)
Browse files Browse the repository at this point in the history
The server uses custom 404 pages as of gohugoio/hugo#10267.
  • Loading branch information
cdriehuys authored Apr 28, 2023
1 parent 4a387a6 commit aa59ef3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions content/en/templates/404.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,4 @@ Your 404.html file can be set to load automatically when a visitor enters a mist
* DigitalOcean App Platform. You can specify `error_document` in your app specification file or use control panel to set up error document. [Details here](https://docs.digitalocean.com/products/app-platform/how-to/manage-static-sites/#configure-a-static-site).
* [Firebase Hosting](https://firebase.google.com/docs/hosting/full-config#404): `/404.html` automatically gets used as the 404 page.

{{% note %}}
`hugo server` will not automatically load your custom `404.html` file, but you
can test the appearance of your custom "not found" page by navigating your
browser to `/404.html`.
{{% /note %}}

[pagevars]: /variables/page/

0 comments on commit aa59ef3

Please sign in to comment.