This commit is contained in:
2026-06-18 10:36:41 +08:00 Unverified
parent 1a862adddc
commit 7c3679e885
41 changed files with 10544 additions and 163 deletions
+20
View File
@@ -0,0 +1,20 @@
---
import BaseLayout from '@/layouts/BaseLayout.astro';
import { getAllPosts } from '@/lib/posts';
const posts = getAllPosts();
---
<BaseLayout title="归档">
<section class="content-wrap narrow">
<h1>归档</h1>
<div class="archive-list">
{posts.map((post) => (
<a href={post.href}>
<time datetime={post.date.toISOString()}>{post.dateText}</time>
<span>{post.title}</span>
</a>
))}
</div>
</section>
</BaseLayout>