Display new blog posts at the top of the list
This commit is contained in:
parent
92992c6142
commit
895fba4138
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ const description = "Aria's blog of assorted content";
|
||||||
<h1 class="text-2xl">All blog posts:</h1>
|
<h1 class="text-2xl">All blog posts:</h1>
|
||||||
<ul>
|
<ul>
|
||||||
{
|
{
|
||||||
allPosts.map((post: any) => (
|
allPosts.reverse().map((post: any) => (
|
||||||
<BlogEntry
|
<BlogEntry
|
||||||
url={`/posts/${post.id}/`}
|
url={`/posts/${post.id}/`}
|
||||||
title={post.data.title}
|
title={post.data.title}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue