From 895fba4138c2038c33052e011ddba342c165cb04 Mon Sep 17 00:00:00 2001 From: Aria <hello+git@buymymojo.net> Date: Mon, 10 Mar 2025 13:33:45 +1100 Subject: [PATCH] Display new blog posts at the top of the list --- src/pages/blog.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/blog.astro b/src/pages/blog.astro index 8229566..226a139 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -16,7 +16,7 @@ const description = "Aria's blog of assorted content"; <h1 class="text-2xl">All blog posts:</h1> <ul> { - allPosts.map((post: any) => ( + allPosts.reverse().map((post: any) => ( <BlogEntry url={`/posts/${post.id}/`} title={post.data.title}