refine typography
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user