修复阅读建议问题

This commit is contained in:
sunheyi 2023-02-08 10:59:39 +08:00
parent 44bde9ba85
commit d95cc7ab5d
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<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,6)}"> <div class="topGroup" th:fragment="top-group" th:with="topGroupPosts = ${postFinder.list(1,theme.config.post.recommendQuantity)}">
<div class="recent-post-item" <div class="recent-post-item"
th:each="post : ${topGroupPosts}" th:each="post : ${topGroupPosts}"
th:if="${#strings.equals(theme.config.top.recommendPost, 'latest')}"> th:if="${#strings.equals(theme.config.top.recommendPost, 'latest')}">