diff --git a/src/components/BlogItem.astro b/src/components/BlogItem.astro index 7af463e..ae67d30 100644 --- a/src/components/BlogItem.astro +++ b/src/components/BlogItem.astro @@ -19,7 +19,7 @@ interface Props { const { title, description, date, href, header } = Astro.props; --- - + { href ? ( diff --git a/src/pages/blogs.astro b/src/pages/blogs.astro index 06bafdb..400dde0 100644 --- a/src/pages/blogs.astro +++ b/src/pages/blogs.astro @@ -15,10 +15,10 @@ const blogs = (await getCollection("blogs")) --- - +

$ ls -lah -t --color=auto ~/blogs

-
+
{ blogs.map((blog) => ( <>