From cf57a11a52cc6c7d0991e98bb23ecc501beb2f66 Mon Sep 17 00:00:00 2001 From: sunheyi <1061867552@qq.com> Date: Thu, 9 Feb 2023 13:29:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=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/modules/post-list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/modules/post-list.html b/templates/modules/post-list.html index 11fa0953..0c920766 100644 --- a/templates/modules/post-list.html +++ b/templates/modules/post-list.html @@ -2,7 +2,8 @@ + th:with='postItems=${posts.items},postRandomImg=${#strings.contains(theme.config.layout.postRandomImg,"?") ? theme.config.layout.postRandomImg : theme.config.layout.postRandomImg+"?"}'> +
- + th:src='${#strings.isEmpty(post.spec.cover) ? postRandomImg+","+iStat.index : post.spec.cover}'>