Fix some bugs in full-text search

This commit is contained in:
2024-12-18 09:15:58 +08:00
parent 05df3fa376
commit 3f1e302d6b
2 changed files with 10 additions and 4 deletions

View File

@@ -86,7 +86,7 @@
<div class="col-12 col-md-8">
<div class="search-post-pagination">
<span class="search-post-pagination-item">
<a href="/search?page={{ .page_info.pre_page }}">
<a href="/search?keyword={{ .search_post.keyword }}&page={{ .page_info.pre_page }}">
<
</a>
</span>
@@ -94,7 +94,7 @@
{{ .page_info.cur_page }} &nbsp; / &nbsp; {{ .page_info.all_page }}
</span>
<span class="search-post-pagination-item">
<a href="/search?page={{ .page_info.nxt_page }}">
<a href="/search?keyword={{ .search_post.keyword }}&page={{ .page_info.nxt_page }}">
>
</a>
</span>