diff --git a/web/src/components/postList/postCard.astro b/web/src/components/postList/postCard.astro index f624378..f1e46a4 100644 --- a/web/src/components/postList/postCard.astro +++ b/web/src/components/postList/postCard.astro @@ -6,13 +6,24 @@ const pb = await authPB() const { p } = Astro.props --- -
- -
- - - {p['title']} +
+ +
+ + + +

{p.title}

+
+ { + p.description !== "" && + {p['description']} + } +
+ + +
+ + {p['title']}/
- {p['description']}
\ No newline at end of file diff --git a/web/src/pages/posts/index.astro b/web/src/pages/posts/index.astro index 6a603bb..557df82 100644 --- a/web/src/pages/posts/index.astro +++ b/web/src/pages/posts/index.astro @@ -24,7 +24,7 @@ const uniqueTags = tags.filter((v, i, a) => a.indexOf(v) === i)
-
+
{ posts.map(p => ) }
\ No newline at end of file