RAPPEL : Opération de maintenance > ForgeMIA indisponible le 20 Janvier entre 7h et 12h

Commit fa5bb260 authored by Jean-Baptiste Nizet's avatar Jean-Baptiste Nizet
Browse files

feat: add error page

parent 36c1412a
<!DOCTYPE html>
<html
xmlns:th="http://www.thymeleaf.org"
th:replace="~{layout/main :: layout(title=~{::title}, content=~{::main}, script=~{::script})}"
>
<head>
<title>Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<main>
<h1 class="display-1" th:text="${status}">404</h1>
<p th:if="${status == 404}">Sorry, the requested page does not exist.</p>
<p class="lead" th:if="${status != 404}">
Unexpected error: <span th:text="${error}">.</span>
</p>
</main>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment