Skip to content
Snippets Groups Projects
Commit 4ed28ebf authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Better

parent 298b5ca5
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,13 @@ commons:
PDF: Adobe Portable Document Format
diplomas:
type: Type de diplôme
errors:
error_404:
title: "404 error"
text: >-
This link seems incorrect.<br>
We suggest you return to the <a href="/">home page of our site</a>.<br>
Thank you for your understanding.
events:
archives: Previous events archive
add_to_calendar:
......@@ -190,7 +197,6 @@ formats:
tar: Compressed archive
organizations:
logo: Logo
page_not_found: 404 page not found
pages:
details: Details
informations: Informations
......
......@@ -146,6 +146,13 @@ commons:
PDF: Adobe Portable Document Format
diplomas:
type: Type de diplôme
errors:
error_404:
title: Erreur 404
text: >-
Ce lien semble erroné.<br>
Nous vous proposons de retourner à la <a href="/">page d'accueil de notre site</a>.<br>
Merci de votre compréhension.
events:
archives: Accéder aux archives des événements passés
add_to_calendar:
......@@ -190,7 +197,6 @@ formats:
tar: Compressed archive
organizations:
logo: Logo
page_not_found: 404 page non trouvée
pages:
details: En détail
informations: Informations
......
{{ define "main" }}
{{ $error_message := i18n "page_not_found" }}
{{ $title := i18n "errors.error_404.title" }}
{{ partial "header/hero.html"
(dict
"title" $error_message
"title" $title
"context" .
)}}
<div class="container">
<p>
{{ safeHTML (i18n "errors.error_404.text") }}
</p>
</div>
{{ end }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment