mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-22 18:21:31 +08:00
feat: new blog layout and props
This commit is contained in:
@ -19,5 +19,5 @@ export function collectionDateSort(
|
||||
a: CollectionEntry<"post" | "note">,
|
||||
b: CollectionEntry<"post" | "note">,
|
||||
) {
|
||||
return b.data.publishDate.getTime() - a.data.publishDate.getTime();
|
||||
return b.data.date.getTime() - a.data.date.getTime();
|
||||
}
|
||||
|
Reference in New Issue
Block a user