修复阅读建议问题
This commit is contained in:
parent
44bde9ba85
commit
d95cc7ab5d
|
@ -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')}">
|
||||||
|
|
Loading…
Reference in New Issue