aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-07-25 02:02:23 -0700
committerPinapelz <donaldshan1@outlook.com>2023-07-25 02:02:23 -0700
commitdd4cd5cc902294ddd312cb529263567399534c74 (patch)
tree44fe59eb820c1b4f33f8e19218b3658e61dd0e27 /src/pages
parentbbc9826af1176221552f88cb6d1da65f72546968 (diff)
patchwork-4 post
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/index.astro2
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>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage