From 21cddbf3a1eaf263d0bf86a5620b4d1864a5b940 Mon Sep 17 00:00:00 2001 From: Adam Wolf Date: Tue, 22 Aug 2023 10:25:11 -0500 Subject: [PATCH] Add GitLab Pages and Cloudflare Pages to inline 404 help I had to move an Eleventy site to Cloudflare Pages and was pleasantly surprised when 404.html worked the same as GitHub Pages and Netlify et al. I updated the website quicktip (11ty/11ty-website#1608). Updating the base blog, I noticed the inline link to GitLab Pages was missing, so I added that as well. --- content/404.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/content/404.md b/content/404.md index bd51f6149..9dd2ce71b 100644 --- a/content/404.md +++ b/content/404.md @@ -11,9 +11,10 @@ Go home. Read more: https://www.11ty.dev/docs/quicktips/not-found/ -This will work for both GitHub pages and Netlify: +This will work for GitHub pages, GitLab Pages, Netlify, and Cloudflare Pages: * https://help.github.com/articles/creating-a-custom-404-page-for-your-github-pages-site/ +* https://docs.gitlab.com/ee/user/project/pages/introduction.html#custom-error-codes-pages * https://www.netlify.com/docs/redirects/#custom-404 - +* https://developers.cloudflare.com/pages/platform/serving-pages/#not-found-behavior -->