From 50fccd6b94609885e24318606111405196fb205e Mon Sep 17 00:00:00 2001 From: Airbo ZH Date: Thu, 9 Feb 2023 19:49:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=86=E7=B1=BB=E3=80=81Tag=E3=80=81r?= =?UTF-8?q?ecent-posts=E7=9A=84=E9=9A=8F=E6=9C=BA=E5=9B=BE=E7=89=87?= =?UTF-8?q?=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 @@
-
+
- +