Skip to content

Commit

Permalink
fix: fix API misuse in the sample (#491)
Browse files Browse the repository at this point in the history
fix #490 

```release-note
None
```
  • Loading branch information
HowieHz authored Jan 11, 2025
1 parent f3ec38c commit 2a08da5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/developer-guide/theme/template-variables/index_.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import ListedPostVo from "../vo/_ListedPostVo.md"
>
<span>上一页</span>
</a>
<span th:text="${posts.page} +' / '+ ${posts.total}"></span>
<span th:text="${posts.page} +' / '+ ${posts.totalPages}"></span>
<a
th:href="@{${posts.nextUrl}}"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import ListedPostVo from "../vo/_ListedPostVo.md"
>
<span>上一页</span>
</a>
<span th:text="${posts.page} +' / '+ ${posts.total}"></span>
<span th:text="${posts.page} +' / '+ ${posts.totalPages}"></span>
<a
th:href="@{${posts.nextUrl}}"
>
Expand Down

0 comments on commit 2a08da5

Please sign in to comment.