Skip to content

Commit

Permalink
fix: error template render (#34)
Browse files Browse the repository at this point in the history
修复异常页面无法正常渲染的问题。

/kind bug

```release-note
None
```
  • Loading branch information
ruibaby authored Dec 27, 2022
1 parent 6830cc6 commit aca0692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/error/error.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html
xmlns:th="https://www.thymeleaf.org"
th:replace="~{modules/layout :: html(title = ${error.status} + ' | ' + ${#strings.defaultString(error.title, 'Internal server error')} + ' - ' +${site.title}, header = null, content = ~{::content}, head = null, footer = null, sidebar = null, contentClass = null)}"
th:replace="~{modules/layout :: html(title = ${error.status} + ' | ' + ${#strings.defaultString(error.title, 'Internal server error')} + ' - ' +${site.title}, hero = null, header = null, content = ~{::content}, head = null, footer = null, sidebar = null, contentClass = null)}"
>
<th:block th:fragment="content">
<section class="flex items-center dark:bg-gray-900 dark:text-gray-100">
Expand Down

0 comments on commit aca0692

Please sign in to comment.