Docs: Custom 404 pages are pages -- not articles

This commit is contained in:
Justin Mayer 2016-09-15 06:55:25 -06:00
commit ac08cd5eb1

View file

@ -9,8 +9,8 @@ Custom 404 Pages
When a browser requests a resource that the web server cannot find, the web When a browser requests a resource that the web server cannot find, the web
server usually displays a generic "File not found" (404) error page that can be server usually displays a generic "File not found" (404) error page that can be
stark and unsightly. One way to provide an error page that matches the theme stark and unsightly. One way to provide an error page that matches the theme
of your site is to create a custom 404 page, such as this Markdown-formatted of your site is to create a custom 404 page (*not* an article), such as this
example:: Markdown-formatted example stored in ``content/pages/404.md``::
Title: Not Found Title: Not Found
Status: hidden Status: hidden
@ -28,8 +28,8 @@ configuration file's ``location`` block::
For Apache:: For Apache::
ErrorDocument 404 /404.html ErrorDocument 404 /404.html
For Amazon S3, first navigate to the ``Static Site Hosting`` menu in the For Amazon S3, first navigate to the ``Static Site Hosting`` menu in the
bucket settings on your AWS cosole. From there:: bucket settings on your AWS cosole. From there::
Error Document: 404.html Error Document: 404.html