From 11071b2b3a70aee1e61499e7e3785add44388a4d Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Fri, 6 Mar 2026 20:31:16 +0100 Subject: [PATCH] replace updatedAt to createdAt in the blog --- apps/frontend/src/pages/blog.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/frontend/src/pages/blog.astro b/apps/frontend/src/pages/blog.astro index d5a405e..b5ebbff 100644 --- a/apps/frontend/src/pages/blog.astro +++ b/apps/frontend/src/pages/blog.astro @@ -34,7 +34,7 @@ try { const LIST_QUERY = ` { pages { - list(orderBy: UPDATED, orderByDirection: DESC, tags: ["blog"]) { + list(orderBy: CREATED, orderByDirection: DESC, tags: ["blog"]) { id path title @@ -195,7 +195,7 @@ function getCleanPreview(content: string): string { New Post )} - {timeAgo(page.updatedAt)} + {timeAgo(page.createdAt)}