mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 20:09:41 +08:00
14 lines
654 B
HTML
14 lines
654 B
HTML
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
|
|
th:include="~{common/layout :: layout (title = ${site.title}, canonical = ${site.url}, content = ~{::content}, isPost = false)}">
|
|
<th:block th:fragment="content" th:with="isEmpty = ${#lists.isEmpty(posts)}">
|
|
<div th:if="${isEmpty}" class="card card-empty">
|
|
<i class="fa fa-inbox"></i>
|
|
还没有发表过文章
|
|
</div>
|
|
<th:block th:unless="${isEmpty}">
|
|
<th:block th:include="~{main/article_list :: articleList (${posts.items}, ${posts.first})}"/>
|
|
<th:block th:replace="~{main/pagination :: pagination (${posts}, '/index')}"/>
|
|
</th:block>
|
|
</th:block>
|
|
</html> |