mirror of
https://github.com/KazooTTT/kazoottt-blog.git
synced 2025-06-23 10:41:31 +08:00
feat: use date not publishDate
This commit is contained in:
@ -10,7 +10,7 @@ type Props<Tag extends HTMLTag> = Polymorphic<{ as: Tag }> & {
|
||||
}
|
||||
|
||||
const { as: Tag = 'div', post, withDesc = false } = Astro.props
|
||||
const postDate = post.data.updatedDate ?? post.data.publishDate
|
||||
const postDate = post.data.date
|
||||
---
|
||||
|
||||
<li class='flex flex-col gap-2 sm:flex-row sm:gap-x-4 [&_q]:basis-full'>
|
||||
|
Reference in New Issue
Block a user