Skip to content

Commit

Permalink
fix: 自定义页面page获取title失败
Browse files Browse the repository at this point in the history
  • Loading branch information
Waite0603 authored and AirboZH committed Sep 16, 2023
1 parent 1b93290 commit 873f7f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/page.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html
th:replace="~{modules/layout :: html (title =${post.spec.title} +' - '+ ${site.title},
th:replace="~{modules/layout :: html (title =${singlePage.spec.title} +' - '+ ${site.title},
content = ~{modules/page :: page(~{::content}, 'page')})}"
xmlns:th="https://www.thymeleaf.org"
>
Expand Down

0 comments on commit 873f7f4

Please sign in to comment.