halo-theme-Single/archives.ftl

26 lines
869 B
Plaintext
Raw Permalink Normal View History

2022-04-15 13:11:12 +08:00
<#include "header.ftl">
<@head title="归档 - ${blog_title!}"/>
<main>
<div class="wrap min">
<section class="home-title">
<h1>归档</h1>
2022-05-27 01:33:50 +08:00
</section>
<section class="home-posts">
<@postTag method="archive" type="month">
<div class="post-item">
<#list archives as archive>
<h2>${archive.year?c}年-${archive.month?c}月</h2>
<ul>
<#list archive.posts?sort_by("createTime")?reverse as post>
<li>
<a href="${post.fullPath!}">${post.title!}</a>
</li>
</#list>
</ul>
</#list>
</div>
</@postTag>
2022-04-15 13:11:12 +08:00
</section>
</div>
</main>
2022-06-19 00:31:24 +08:00
<#include "footer.ftl">