💡 Comments + new blog post
This commit is contained in:
@@ -24,9 +24,8 @@ const { page } = Astro.props;
|
||||
---
|
||||
|
||||
<Layout title="Blog Archive">
|
||||
<ul>
|
||||
{page.data.map((post) => <PostPreview post={post} />)}
|
||||
</ul>
|
||||
{page.data.map((post) => <PostPreview post={post} />)}
|
||||
|
||||
<div class="pagination">
|
||||
{
|
||||
page.currentPage !== 1 ? (
|
||||
|
||||
@@ -53,7 +53,6 @@ posts.sort(
|
||||
{
|
||||
posts.map((post) => (
|
||||
<li>
|
||||
{console.log(post)}
|
||||
<a href={`/posts/${post.id}`}>{post.data.title}</a> -
|
||||
<span>
|
||||
{format(
|
||||
|
||||
Reference in New Issue
Block a user