Merge pull request #76 from shy-share/dev

修复阅读建议问题
This commit is contained in:
sunheyi 2023-02-08 11:01:36 +08:00 committed by GitHub
commit ec5391ba59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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')}">