Merge pull request #1776 from YunoHost/404

Add custom error page
This commit is contained in:
tituspijean 2021-09-10 00:28:27 +02:00 committed by GitHub
commit 7cb60710c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

16
pages/error/error.fr.md Normal file
View file

@ -0,0 +1,16 @@
---
title: Page introuvable
robots: noindex,nofollow
template: error
routable: false
http_response_code: 404
twig_first: true
process:
twig: true
expires: 0
---
## Oups. Il semblerait que la page n'existe pas... encore !
<i class="fa fa-heart"></i> Vous pouvez contribuer à la documentation en l'
<a class="github-link tooltip tooltip-bottom" href="https://github.com/YunoHost/doc" data-tooltip="Modifier/Créer la page sur GitHub"><i class="fa fa-pencil-square"></i>éditant</a> !

16
pages/error/error.md Normal file
View file

@ -0,0 +1,16 @@
---
title: Page not Found
robots: noindex,nofollow
template: error
routable: false
http_response_code: 404
twig_first: true
process:
twig: true
expires: 0
---
## Woops. Looks like this page doesn't exist... yet!
<i class="fa fa-heart"></i> You can contribute to the documentation by
<a class="github-link tooltip tooltip-bottom" href="https://github.com/YunoHost/doc" data-tooltip="Edit this page on GitHub"><i class="fa fa-pencil-square"></i>Editing</a> it!