diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2023-07-24 21:08:08 -0700 |
|---|---|---|
| committer | Pinapelz <donaldshan1@outlook.com> | 2023-07-24 21:08:08 -0700 |
| commit | 828fd5094d18bda50c943c79b338b59b01aaea39 (patch) | |
| tree | e19ce1943779bd2c65c87ea33b204874cd64cbc0 /src/pages | |
| parent | f1ec469fd467687780c5303a97acfb0acb08f8d0 (diff) | |
reverse recency of posts on landing page
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 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> |
