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}'>