diff options
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/index.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/index.astro b/src/pages/index.astro index a7190ad..cbc2483 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -38,7 +38,7 @@ const posts = (await getCollection('blog')).sort( <section> <ul> { - posts.slice(0, 3).map((post) => ( + posts.slice(-3).map((post) => ( <li> <FormattedDate date={post.data.pubDate} /> <a href={`/blog/${post.slug}/`}>{post.data.title}</a> |
