mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 23:39:40 +08:00
17 lines
801 B
HTML
17 lines
801 B
HTML
<!DOCTYPE html>
|
|
<html xmlns:th="https://www.thymeleaf.org"
|
|
th:replace="~{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:replace="~{main/article_list :: articleList (${posts.items}, ${posts.first})}"/>
|
|
<!-- <#include "templates/main/article_list.html">-->
|
|
<!-- <@article_list posts.content/>-->
|
|
<!-- <#include "templates/main/pagination.html">-->
|
|
<!-- <@pagination method="index" datas=posts display="${settings.page_number!5}" />-->
|
|
</th:block>
|
|
</th:block>
|
|
</html> |