show newest news first on /aktuelt

This commit is contained in:
2024-07-13 21:49:06 +02:00
parent 410fc43bdf
commit 9cd47561d4
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ export const newsQuery = graphql(`
...NewsIndex
}
}
news: pages(contentType: "news.NewsPage") {
news: pages(contentType: "news.NewsPage", order: "-first_published_at") {
... on NewsPage {
...News
}