Update top-group.html
This commit is contained in:
parent
e03344d449
commit
459807ce43
|
@ -30,8 +30,8 @@
|
|||
<!-- 自定义的文章右上角的推荐文章 -->
|
||||
<div class="recent-post-item"
|
||||
th:each="cuscomPost : ${theme.config.top.BannerRight.recommendPostCustom}"
|
||||
th:if="${#strings.equals(theme.config.top.BannerRight.recommendPost, 'custom')}">
|
||||
<th:block th:if="${not #strings.isEmpty(cuscomPost.post)}" th:with="post = ${postFinder.getByName(cuscomPost.post)}">
|
||||
th:if="${#strings.equals(theme.config.top.BannerRight.recommendPost, 'custom') && not #strings.isEmpty(cuscomPost.post) }">
|
||||
<th:block th:with="post = ${postFinder.getByName(cuscomPost.post)}">
|
||||
<div class="post_cover">
|
||||
<a th:href="@{${post.status.permalink}}" th:title="${post.spec.title}">
|
||||
<span class="recent-post-top-text"
|
||||
|
|
Loading…
Reference in New Issue