From 35c07445d07dd9f902df5ee991f7ccf3ac6a5f4a Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 12 Apr 2021 18:43:02 +0200 Subject: display tags on recent posts --- components/card.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/card.tsx b/components/card.tsx index ba62d57..620ada7 100644 --- a/components/card.tsx +++ b/components/card.tsx @@ -1,3 +1,5 @@ +import Tags from './tag'; + import { ArticleMeta } from '../pages/post/[id]'; export default function PostCard(props: { @@ -7,5 +9,6 @@ export default function PostCard(props: { { props.post.cover && }

{props.post.title}

{props.post.subtitle} + { props.post.tags?.length != 0 && } } -- cgit v1.2.3