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 @@ - + + + From 31c260e6ceffa2131e502b6734acd8424e9bb2d2 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Sat, 19 Aug 2023 01:32:49 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E6=87=92=E5=8A=A0=E8=BD=BD=E5=9B=BE?= =?UTF-8?q?=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/album.html | 12 ++++++--- templates/assets/js/main.js | 8 +++--- templates/macro/content-links.html | 27 +++++++++++++------ templates/modules/head.html | 2 +- templates/modules/layouts/layout.html | 3 ++- templates/modules/post-list.html | 6 +++-- templates/modules/post/relatedPosts.html | 10 ++++--- .../modules/widgets/about-widgets/game.html | 12 +++++---- .../modules/widgets/aside/friend-link.html | 10 ++++--- templates/modules/widgets/aside/profile.html | 21 ++++++++++----- .../modules/widgets/aside/recent-posts.html | 6 +++-- templates/modules/widgets/top-group.html | 12 ++++++--- templates/moments.html | 4 ++- templates/photos.html | 12 ++++++--- templates/post.html | 8 ++++-- 15 files changed, 104 insertions(+), 49 deletions(-) diff --git a/templates/album.html b/templates/album.html index 59f5d15f..2c8e9af3 100644 --- a/templates/album.html +++ b/templates/album.html @@ -23,7 +23,10 @@
- +

@@ -39,8 +42,11 @@

[[${theme.config.photos.bigTitle}]]

@@ -79,7 +79,7 @@
- +
+ src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" + th:attr="onerror='this.onerror=null;this.src=\''+${errorImg}+'\''" + th:data-lazy-src="@{${#strings.isEmpty(#annotations.get(link, 'siteshot')) ? link.spec.logo : #annotations.get(link,'siteshot') }}">
+ src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" + th:attr="onerror='this.onerror=null;this.src=\''+${errorImg}+'\''" + th:data-lazy-src="${link.spec.logo}">
@@ -132,7 +140,10 @@