refine typography

This commit is contained in:
2024-03-02 11:00:12 -05:00
parent 1078d8935f
commit 9cb5d1d5dd
6 changed files with 22 additions and 11 deletions
+2 -2
View File
@@ -16,11 +16,11 @@ const posts = await getCollection('blog');
new Date(b.data.pubDate).valueOf() -
new Date(a.data.pubDate).valueOf()
)
.slice(0, 5)
.slice(0, 6)
.map((post) => <PostPreview post={post} />)
}
{
posts.length < 5 ? null : (
posts.length < 6 ? null : (
<div class="more-posts">
<a href="/archive/all?page=1">All Posts</a>
</div>