feat: support i18n
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<!doctype html>
|
||||
<html
|
||||
xmlns:th="https://www.thymeleaf.org"
|
||||
th:replace="~{modules/layout :: html(title = |${singlePage.spec.title} - ${site.title}|, header = null, content = ~{::content}, footer = null)}"
|
||||
th:replace="~{modules/layout :: html(title = '404 - ' + ${site.title}, header = null, content = ~{::content}, footer = null)}"
|
||||
>
|
||||
<th:block th:fragment="content">
|
||||
<div class="content">
|
||||
@@ -10,7 +10,7 @@
|
||||
<div class="post-content">
|
||||
<p th:text="${error?.detail}"></p>
|
||||
</div>
|
||||
<button th:onclick="'location.href=\'' + @{/} + '\''">
|
||||
<button th:onclick="'location.href=\'' + @{/} + '\''" th:text="#{page.error.back}">
|
||||
Back to home page
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user