diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2023-07-25 02:02:23 -0700 |
|---|---|---|
| committer | Pinapelz <donaldshan1@outlook.com> | 2023-07-25 02:02:23 -0700 |
| commit | dd4cd5cc902294ddd312cb529263567399534c74 (patch) | |
| tree | 44fe59eb820c1b4f33f8e19218b3658e61dd0e27 /src/pages | |
| parent | bbc9826af1176221552f88cb6d1da65f72546968 (diff) | |
patchwork-4 post
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> |
