96 lines
4.8 KiB
HTML
96 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" th:replace="modules/layouts/layout :: layout(~{::content})" xmlns:th="http://www.thymeleaf.org">
|
|
|
|
<th:block th:fragment="content">
|
|
|
|
<div class="page" id="body-wrap">
|
|
<header class="not-top-img" id="page-header">
|
|
<nav th:replace="modules/nav :: nav"></nav>
|
|
</header>
|
|
<main class="layout" id="content-inner">
|
|
<div id="category">
|
|
<div class="category-in-bar">
|
|
<div class="category-in-bar-tips">分类</div>
|
|
<div id="category-bar">
|
|
<div class="category-bar-items" id="category-bar-items">
|
|
<div class="category-bar-item select" id="category-bar-home">
|
|
<a href="/">首页</a>
|
|
</div>
|
|
<div class="category-bar-item"
|
|
th:each="categoryItem : ${categoryFinder.listAll()}"
|
|
th:id="${categoryItem.spec.displayName}">
|
|
<a th:href="${categoryItem.status.permalink}"
|
|
th:text="${categoryItem.spec.displayName}"></a>
|
|
</div>
|
|
|
|
</div>
|
|
<!-- 跳转到分类页 -->
|
|
<a class="category-bar-more" href="#">更多</a></div>
|
|
</div>
|
|
<div class="article-sort-title" th:text="${category.spec.displayName}"></div>
|
|
<div class="article-sort">
|
|
<!-- 按照年份分组 -->
|
|
<div class="article-sort-item year">等待halo提供数据</div>
|
|
<div class="article-sort-item" th:each="post : ${posts.items}">
|
|
<a class="article-sort-item-img" th:href="${post.status.permalink}"
|
|
th:title="${post.spec.title}">
|
|
<img th:alt="${post.spec.title}" th:src="${post.spec.cover}">
|
|
</a>
|
|
<div class="article-sort-item-info">
|
|
<div class="article-sort-item-time"><i class="far fa-calendar-alt"></i>
|
|
<time class="post-meta-date-created"
|
|
th:attr="datetime=${#dates.format(post.spec.publishTime,'yyyy-MM-dd HH:mm:ss')}"
|
|
th:text="${#dates.format(post.spec.publishTime,'yyyy-MM-dd')}"
|
|
th:title="'创建于' + ${#dates.format(post.spec.publishTime,'yyyy-MM-dd HH:mm:ss')}">
|
|
</time>
|
|
</div>
|
|
<a class="article-sort-item-title" onclick="window.event.cancelBubble=!0"
|
|
th:href="${post.status.permalink}" th:text="${post.spec.title}"
|
|
th:title="${post.spec.title}"></a>
|
|
<div class="article-sort-item-tags">
|
|
<a class="article-meta__tags" event.cancelbubble onclick="window.event.cancelBubble=!0"
|
|
th:each="tag : ${post.tags}" th:href="${tag.status.permalink}">
|
|
<span class="tags-punctuation">#</span>
|
|
<th:block th:title="${tag.spec.displayName}"></th:block>
|
|
</a>
|
|
<span class="article-meta__link">•</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- 分页 -->
|
|
<nav id="pagination">
|
|
<div class="pagination"><span class="page-number current">1</span></div>
|
|
</nav>
|
|
</div>
|
|
<div class="aside-content" id="aside-content">
|
|
|
|
<div th:replace="modules/widgets/profile :: profile"></div>
|
|
|
|
<div class="card-widget heo-right-widget" id="card-wechat" onclick='window.open("/wechat/")'>
|
|
<div id="flip-wrapper">
|
|
<div id="flip-content">
|
|
<div class="face"></div>
|
|
<div class="back face"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="sticky_layout">
|
|
<div class="card-widget card-tags card-archives card-webinfo card-allinfo">
|
|
<th:block th:replace="modules/widgets/tags :: tags"></th:block>
|
|
|
|
<hr>
|
|
|
|
<th:block th:replace="modules/widgets/statistics :: statistics"></th:block>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<!-- 底部 -->
|
|
<footer th:replace="modules/footer :: footer"></footer>
|
|
</div>
|
|
|
|
</th:block>
|
|
|
|
</html> |