调整文章日期显示

This commit is contained in:
tangly1024.com
2023-06-29 12:44:46 +08:00
parent d07a145029
commit 9ac2bbb180
31 changed files with 61 additions and 67 deletions

View File

@@ -57,7 +57,7 @@ const BlogPostCard = ({ post, showSummary }) => {
</>
)}
<Link
href={`/archive#${post?.date?.start_date?.substr(0, 7)}`}
href={`/archive#${post?.publishTime?.substr(0, 7)}`}
passHref
className="hover:text-blue-500 dark:hover:text-blue-400 font-light hover:underline cursor-pointer text-sm leading-4 mr-3">
{post.date?.start_date}