aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-07-24 21:08:08 -0700
committerPinapelz <donaldshan1@outlook.com>2023-07-24 21:08:08 -0700
commit828fd5094d18bda50c943c79b338b59b01aaea39 (patch)
treee19ce1943779bd2c65c87ea33b204874cd64cbc0 /src/pages
parentf1ec469fd467687780c5303a97acfb0acb08f8d0 (diff)
reverse recency of posts on landing page
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 a1d2259..a7190ad 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -43,7 +43,7 @@ const posts = (await getCollection('blog')).sort(
<FormattedDate date={post.data.pubDate} />
<a href={`/blog/${post.slug}/`}>{post.data.title}</a>
</li>
- ))
+ )).reverse()
}
</ul>
</section>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage