<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head th:include="main.html::head"></head>
<body>
<header th:replace="main.html::global-header"></header>

<main id="main" role="main">
    <div th:replace="main.html::phase"></div>
    <h1>Bad Request</h1>
    <p th:text="${exception.message}"></p>
    <div th:replace="copyright.html::copyright"></div>
</main>

<footer th:replace="main.html::footer"></footer>
</body>
</html>
xw
<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org" xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head th:include="main.html::head"></head>
<body>
<header th:replace="main.html::global-header"></header>

<main id="main" role="main">
    <div th:replace="main.html::phase"></div>
    <h1>Bad Request</h1>
    <p th:text="${exception.message}"></p>
    <div th:replace="copyright.html::copyright"></div>
</main>

<footer th:replace="main.html::footer"></footer>
</body>
</html>

Remove accidental code from template file
Remove accidental code from  template file
