From 8b493c0f9bedcdf3f56b85cf37d2cbc85ec11d19 Mon Sep 17 00:00:00 2001 From: Airbo ZH Date: Thu, 9 Feb 2023 18:50:18 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=B8=80=E4=B8=AA=E6=9C=88=E5=86=85?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E6=98=BE=E7=A4=BAxx=E5=A4=A9=E5=89=8D?= =?UTF-8?q?=EF=BC=8C=E5=85=B6=E4=BD=99=E6=98=BE=E7=A4=BA=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=20#78?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/modules/post-list.html | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/templates/modules/post-list.html b/templates/modules/post-list.html index 99d89f57..ae16b97b 100644 --- a/templates/modules/post-list.html +++ b/templates/modules/post-list.html @@ -57,11 +57,26 @@ - + From 50fccd6b94609885e24318606111405196fb205e Mon Sep 17 00:00:00 2001 From: Airbo ZH Date: Thu, 9 Feb 2023 19:49:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E5=88=86=E7=B1=BB=E3=80=81Tag?= =?UTF-8?q?=E3=80=81recent-posts=E7=9A=84=E9=9A=8F=E6=9C=BA=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/category.html | 8 ++++---- templates/modules/widgets/aside/recent-posts.html | 6 ++++-- templates/tag.html | 5 +++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/templates/category.html b/templates/category.html index f3427ff7..c9dd76ed 100644 --- a/templates/category.html +++ b/templates/category.html @@ -33,11 +33,12 @@
-
+
+ th:src="${#strings.isEmpty(post.spec.cover) ? postRandomImg+post.spec.title : post.spec.cover}">
@@ -53,8 +54,7 @@
diff --git a/templates/modules/widgets/aside/recent-posts.html b/templates/modules/widgets/aside/recent-posts.html index 88b75926..b7a63c7f 100644 --- a/templates/modules/widgets/aside/recent-posts.html +++ b/templates/modules/widgets/aside/recent-posts.html @@ -1,12 +1,14 @@ -
+
最近发布
- +
diff --git a/templates/tag.html b/templates/tag.html index e4c33bf6..95f82d3f 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -22,10 +22,11 @@
-
+
- +