feat: Ajout des pages d'erreurs

fixes: #12
This commit is contained in:
Simon 2020-12-03 16:55:24 +01:00
parent 82e42e0788
commit 3c20b9a271
5 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,4 @@
FROM registry.weko.io/nginx-lowtech:0.0.6 FROM registry.weko.io/nginx-lowtech:0.0.7
# Copie des sources du site # Copie des sources du site
COPY public /usr/share/nginx/html COPY public /usr/share/nginx/html

8
content/404.md Normal file
View File

@ -0,0 +1,8 @@
---
title: "Page **Introuvable**"
url: "/404.html"
---
![Image illustrant l'erreur 404](/icons/404.svg)
Vous vous êtes perdu ? [Revenir à l'accueil en cliquant ici](/).

8
content/50x.md Normal file
View File

@ -0,0 +1,8 @@
---
title: "Erreur interne du serveur"
url: "/50x.html"
---
![Image illustrant l'erreur 500](/icons/500.svg)
Le serveur a rencontré une erreur interne qui la empêché de satisfaire la requête. [Revenir à l'accueil en cliquant ici](/).

1
static/icons/404.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.3 KiB

1
static/icons/500.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.3 KiB