mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-16 23:41:20 +08:00
feat: change the sort priority
This commit is contained in:
@ -22,7 +22,7 @@ export function collectionDateSort(
|
||||
return b.data.date.getTime() - a.data.date.getTime();
|
||||
}
|
||||
|
||||
const datePriorityForNote = ["date_modified", "date", "data_created"];
|
||||
const datePriorityForNote = ["date", "date_modified", "data_created"];
|
||||
|
||||
export function collectionModifiedDateSort(
|
||||
a: CollectionEntry<"post" | "note">,
|
||||
|
Reference in New Issue
Block a user