Skip to content

Commit

Permalink
fix(blog): remove slice from /archive page
Browse files Browse the repository at this point in the history
  • Loading branch information
noghartt committed Oct 30, 2024
1 parent cdf38c1 commit 2493944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/blog/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const postsSorted = posts.sort((a, b) =>
<h2>Archives</h2>
</section>
<ul>
{postsSorted.slice(0, 4).map(post => (
{postsSorted.map(post => (
<li>
<Link href={`/blog/${post.slug}`}>
{post.data.pubDate.toISOString().split('T')[0]}
Expand Down

0 comments on commit 2493944

Please sign in to comment.