fix: 默认参数造成的主页布局不整齐 #100

This commit is contained in:
Airbo ZH 2023-02-11 22:50:42 +08:00 committed by airbo
parent 51cad0e4c7
commit 4c3373b61b
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
<html lang="en" xmlns:th="http://www.thymeleaf.org"> <html lang="en" xmlns:th="http://www.thymeleaf.org">
<!-- 推荐文章 --> <!-- 推荐文章 -->
<div class="topGroup" th:fragment="top-group" th:with='topGroupPosts = ${postFinder.list(1,theme.config.post.recommendQuantity)}, <div class="topGroup" th:fragment="top-group" th:with='topGroupPosts = ${postFinder.list(1,6)},
postRandomImg=${#strings.contains(theme.config.layout.postRandomImg,"?") ? theme.config.layout.postRandomImg : theme.config.layout.postRandomImg+"?"}' postRandomImg=${#strings.contains(theme.config.layout.postRandomImg,"?") ? theme.config.layout.postRandomImg : theme.config.layout.postRandomImg+"?"}'
> >
<div class="recent-post-item" <div class="recent-post-item"