Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'

This commit is contained in:
Bjørn Erik Pedersen
2024-08-09 15:17:43 +02:00
143 changed files with 3258 additions and 2109 deletions

View File

@@ -1,14 +1,14 @@
---
title: Custom 404 page
linkTitle: 404 template
linkTitle: 404 templates
description: Create a template to render a 404 error page.
categories: [templates]
keywords: ['404',page not found]
keywords: []
menu:
docs:
parent: templates
weight: 220
weight: 220
weight: 160
weight: 160
---
To render a 404 error page in the root of your site, create a 404 template in the root of the layouts directory. For example:
@@ -43,7 +43,7 @@ Amazon S3|See [details](https://docs.aws.amazon.com/AmazonS3/latest/userguide/Cu
Apache|See [details](https://httpd.apache.org/docs/2.4/custom-error.html).
Azure Static Web Apps|See [details](https://learn.microsoft.com/en-us/azure/static-web-apps/configuration#response-overrides).
Azure Storage|See [details](https://learn.microsoft.com/en-us/azure/storage/blobs/storage-blob-static-website#setting-up-a-static-website).
Caddy|See [deatils](https://caddyserver.com/docs/caddyfile/directives/handle_errors).
Caddy|See [details](https://caddyserver.com/docs/caddyfile/directives/handle_errors).
Cloudflare Pages|See [details](https://developers.cloudflare.com/pages/configuration/serving-pages/#not-found-behavior).
DigitalOcean App Platform|See [details](https://docs.digitalocean.com/products/app-platform/how-to/manage-static-sites/#configure-a-static-site).
Firebase|See [details](https://firebase.google.com/docs/hosting/full-config#404).