Add 404 curtom page
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful

This commit is contained in:
nemunaire 2024-02-29 10:09:11 +01:00
parent eabda3eb14
commit 432082328d

35
layouts/404.html Normal file
View File

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}" class="h-100">
{{ partial "head.html" . }}
<body class="d-flex flex-column justify-content-between">
{{ partial "nav.html" . }}
<div class="container py-4">
<h2>Page Not Found</h2>
<p>
The page you requested cannot be found.
</p>
<p>
<a href="/">Return to home page</a>
</p>
<hr>
<h2>Page introuvable</h2>
<p>
La page que vous avez demandée est introuvable.
</p>
<p>
<a href="/fr/">Retourner à l'accueil</a>
</p>
</div>
{{ partial "footer.html" . }}
</body>
</html>