From cbb671933fc2ff85d4c3f5a5b7b518772f9903e6 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Thu, 29 Feb 2024 09:18:56 +0100 Subject: [PATCH] Add 404 page for gitlab pages --- content/404.md | 19 +++++++++++++++++++ layouts/404.html | 45 --------------------------------------------- 2 files changed, 19 insertions(+), 45 deletions(-) create mode 100644 content/404.md delete mode 100644 layouts/404.html diff --git a/content/404.md b/content/404.md new file mode 100644 index 0000000..8abc859 --- /dev/null +++ b/content/404.md @@ -0,0 +1,19 @@ ++++ +title = "happyDomain Page Not Found" +url = "/404.html" ++++ + + +# Page Not found + +The page you requested cannot be found. + +[Return to home page](/en/) + +--- + +# Page introuvable + +La page que vous avez demandée est introuvable. + +[Retourner à l'accueil](/fr/) diff --git a/layouts/404.html b/layouts/404.html deleted file mode 100644 index ea87111..0000000 --- a/layouts/404.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - {{ partial "head.html" . }} - - - -
- - {{ partial "nav.html" . }} - - {{ partial "breadcrumbs.html" . }} - -
- {{ if isset .Params "id" }} - - {{ partial .Params.id . }} - - {{ else }} - -
- -
-

{{ .Title }}

-

- This is not the web page you are looking for. -

-
- -
- - - {{ end }} -
- - -
- - - {{ partial "footer.html" . }} - - {{ partial "scripts.html" . }} - - -