mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 12:45:52 -04:00
docs: Remove note about hugo server not using 404 (#2068)
The server uses custom 404 pages as of gohugoio/hugo#10267.
This commit is contained in:
parent
4a387a6b8c
commit
aa59ef383b
@ -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).
|
* 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.
|
* [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/
|
[pagevars]: /variables/page/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user