From 6059c5acdf4f645ce70c7c5ce76f6c94d8ddb372 Mon Sep 17 00:00:00 2001 From: shandianchengzi <1252402849@qq.com> Date: Fri, 12 Jul 2024 00:09:34 +0800 Subject: [PATCH] posts: fixup. --- pages/src/components/Card.tsx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/src/components/Card.tsx b/pages/src/components/Card.tsx index 1982e36..99f6d2f 100644 --- a/pages/src/components/Card.tsx +++ b/pages/src/components/Card.tsx @@ -82,7 +82,9 @@ export default function Card({ id, href, frontmatter, secHeading = true, body, p ) )} -
{parseDate(published_date.toString())}
+ { + publishCard &&{parseDate(published_date.toString())}
+ } { status === 'collected' &&