From 740d0a2614620fa8a1116e36ac04af1b01225ab1 Mon Sep 17 00:00:00 2001 From: Ayo Date: Tue, 7 Feb 2023 11:46:01 +0100 Subject: [PATCH] simple posts list --- src/components/Posts.astro | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/components/Posts.astro b/src/components/Posts.astro index 5408607..c5000cb 100644 --- a/src/components/Posts.astro +++ b/src/components/Posts.astro @@ -11,10 +11,16 @@ const postUrls: string[] = posts.map((post) => post.url || ""); ---

{title}

-{ - postUrls - .filter((url) => url !== "") - .map((url) => ( - - )) -} +