From 7d3987f1240c36dd93f2c23e67937037970f2700 Mon Sep 17 00:00:00 2001 From: grassblock Date: Sat, 3 May 2025 13:03:41 +0800 Subject: [PATCH] feat: change the placeholder when there is no posts --- src/pages/blog.astro | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/pages/blog.astro b/src/pages/blog.astro index 2069217..69a0a2b 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -25,16 +25,7 @@ posts.sort((a, b) => new Date(b.data.pubDate).getTime() - new Date(a.data.pubDat {posts.length === 0 && ( <>

- 2025-06-08 - My Terminal Setup -

-

- 2025-06-05 - The Art of Minimalism -

-

- 2025-06-01 - First Post + No posts here yet

)}