refactor: improve code maintainability

This commit is contained in:
Erzbir
2026-06-15 22:06:13 +08:00
parent 72346d78d2
commit fdec0aafa1
12 changed files with 421 additions and 291 deletions
+3 -3
View File
@@ -10,10 +10,10 @@
<div class="post-content">
<p th:text="${error?.detail}"></p>
</div>
<button th:onclick="'location.href=\'' + @{/} + '\''" th:text="#{page.error.back}">
<a class="button" data-pjax th:href="@{/}" th:text="#{page.error.back}">
Back to home page
</button>
</a>
</div>
</div>
</th:block>
</html>
</html>