Skip to content

Commit ad9f959

Browse files
author
Mark Robinson
committed
Fix for error templates in packaged jar
1 parent 37e12bd commit ad9f959

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/main/resources/templates/error/404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
~ under the License.
2020
-->
2121
<html xmlns:th="http://www.thymeleaf.org"
22-
th:include="/fragments/error :: errorpage">
22+
th:include="fragments/error :: errorpage">
2323
<head>
2424
<title></title>
2525
</head>

src/main/resources/templates/error/5xx.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
-->
2121

2222
<html xmlns:th="http://www.thymeleaf.org"
23-
th:include="/fragments/error :: errorpage">
23+
th:include="fragments/error :: errorpage">
2424
<head>
2525
<title></title>
2626
</head>

src/main/resources/templates/fragments/error.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</head>
3030
<body>
3131

32-
<nav th:replace="/fragments/header :: navbar"></nav>
32+
<nav th:replace="fragments/header :: navbar"></nav>
3333

3434
<div class="container">
3535
<div class="row">
@@ -47,6 +47,6 @@ <h1>Whoops - Something Went Wrong!</h1>
4747
</div>
4848
</div>
4949

50-
<div th:replace="/fragments/footer :: copy"></div>
50+
<div th:replace="fragments/footer :: copy"></div>
5151
</body>
5252
</html>

0 commit comments

Comments
 (0)