feat: new blog layout and props

This commit is contained in:
KazooTTT
2025-02-05 15:27:29 +08:00
parent ea645368e9
commit fea129eb98
12 changed files with 36 additions and 50 deletions

View File

@ -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();
}