修改页面风格
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
import BaseLayout from '@/layouts/BaseLayout.astro';
|
||||
import PageHeaderCard from '@/components/PageHeaderCard.astro';
|
||||
import { getAllPosts } from '@/lib/posts';
|
||||
|
||||
const posts = getAllPosts();
|
||||
@@ -7,7 +8,7 @@ const posts = getAllPosts();
|
||||
|
||||
<BaseLayout title="归档">
|
||||
<section class="content-wrap narrow">
|
||||
<h1>归档</h1>
|
||||
<PageHeaderCard title="归档" subtitle={`共 ${posts.length} 篇文章`} />
|
||||
<div class="archive-list">
|
||||
{posts.map((post) => (
|
||||
<a href={post.href}>
|
||||
|
||||
Reference in New Issue
Block a user