From 88a364737f2c31fe4a8b1021b6a0211749c7e530 Mon Sep 17 00:00:00 2001
From: Roozen <93673944+Roozenlz@users.noreply.github.com>
Date: Fri, 18 Aug 2023 23:30:41 +0800
Subject: [PATCH 01/12] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5?=
=?UTF-8?q?=E6=9C=89=E7=AC=AC=E4=B8=80=E5=B1=8F=E6=97=B6=E7=82=B9=E5=87=BB?=
=?UTF-8?q?=E5=88=86=E9=A1=B5=E8=87=AA=E5=8A=A8=E8=B7=B3=E8=BD=AC=E5=88=B0?=
=?UTF-8?q?=E6=96=87=E7=AB=A0=20(#431)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
templates/modules/widgets/page.html | 41 ++++++++++++++++++++++-------
1 file changed, 32 insertions(+), 9 deletions(-)
diff --git a/templates/modules/widgets/page.html b/templates/modules/widgets/page.html
index 376b3d67..6e827d99 100644
--- a/templates/modules/widgets/page.html
+++ b/templates/modules/widgets/page.html
@@ -12,30 +12,40 @@
-
+
…
+ th:if="${index > 0 && index <= pageInfo.totalPages}"
+ th:href="${#strings.equals(index, '1') ? paths : path+'/page/'+index}"
+ th:text="${index}"
+ onclick="scrollToPost()">
…
-
+
-
+
-
+
@@ -43,12 +53,25 @@
-
+
+
+