From 098cb94bbfca87ddcf81dd7dd4c52908182cea50 Mon Sep 17 00:00:00 2001 From: Maxime Steinhausser Date: Fri, 9 Sep 2022 21:32:53 +0200 Subject: [PATCH] Add note about Github Pages --- doc/cookbooks/not-found-page.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/cookbooks/not-found-page.md b/doc/cookbooks/not-found-page.md index 5ce31d57..3c458e66 100644 --- a/doc/cookbooks/not-found-page.md +++ b/doc/cookbooks/not-found-page.md @@ -55,3 +55,7 @@ Apache: ```apacheconf ErrorDocument 404 /404.html ``` + +!!! note "404 page on Github Pages" + If you're deploying on Github Pages, you're already set! + The `404.html` file at the root of your `gh-pages` branch is automatically picked by Github for this purpose.