2023-03-24 20:25:04 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="zh" xmlns:th="https://www.thymeleaf.org"
|
|
|
|
th:include="~{common/layout :: layout (title = ${'标签:' + tag.spec.displayName + ' - ' +site.title},
|
|
|
|
canonical = ${tag.status.permalink}, 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>
|
|
|
|
该标签下没有文章,回<a th:href="${site.url}">主页</a>看看吧
|
|
|
|
</div>
|
|
|
|
<th:block th:unless="${isEmpty}">
|
2023-03-21 10:49:35 +08:00
|
|
|
<div class="card card-content main-title">
|
|
|
|
<ul class="breadcrumb">
|
2023-03-24 20:25:04 +08:00
|
|
|
<li><a th:href="@{/tags}"><i class="fa fa-tags"></i>标签</a></li>
|
|
|
|
<li th:text="${tag.spec.displayName}"></li>
|
2023-03-21 10:49:35 +08:00
|
|
|
</ul>
|
|
|
|
</div>
|
2023-03-24 20:25:04 +08:00
|
|
|
<th:block th:include="~{main/article_list :: articleList (${posts.items}, false)}"/>
|
|
|
|
<th:block th:replace="~{main/pagination :: pagination (${posts}, ${tag.status.permalink})}"/>
|
|
|
|
</th:block>
|
|
|
|
</th:block>
|
|
|
|
</html>
|