Skip to content

Commit 8875494

Browse files
committed
wip
1 parent 1bd84a7 commit 8875494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/data/posts.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export async function getPublishedPosts() {
77
.filter((post) => !post.data.draft)
88
.sort(
99
(a, b) =>
10-
+(b.data.last_modified_at ?? b.data.published_at) -
11-
+(a.data.last_modified_at ?? a.data.published_at),
10+
+b.data.published_at -
11+
+a.data.published_at,
1212
);
1313
}
1414

0 commit comments

Comments
 (0)