Skip to content

Commit

Permalink
fix: 默认参数造成的主页布局不整齐 #100
Browse files Browse the repository at this point in the history
  • Loading branch information
AirboZH committed Feb 11, 2023
1 parent 90650a9 commit fa5f349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/modules/widgets/top-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<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+"?"}'
>
<div class="recent-post-item"
Expand Down

0 comments on commit fa5f349

Please sign in to comment.