From 1a8c28c544116f7edbfe5631a41f9f723a97304f Mon Sep 17 00:00:00 2001 From: nam Date: Sat, 26 Oct 2024 17:27:22 +0530 Subject: [PATCH] blog and poem list --- src/components/List.astro | 10 +++++----- src/pages/blog/index.astro | 4 ++-- src/pages/poems/index.astro | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/components/List.astro b/src/components/List.astro index 7861a1c..1ef9d6b 100644 --- a/src/components/List.astro +++ b/src/components/List.astro @@ -11,9 +11,9 @@ const { posts, l } = Astro.props; href={href} class="cursor-pointer gap-3 flex flex-col items-start" > -
+
-

+

{index + 1}. @@ -21,15 +21,15 @@ const { posts, l } = Astro.props;

-
+
{post.frontmatter.category}
-

+

{post.frontmatter.date}

-

+

{post.frontmatter.description}

diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 3c58243..ac119d4 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -30,10 +30,10 @@ let keys = Object.keys(postsByYear).reverse(); keys.map((i) => { return (
-

+

{i}

-
+
diff --git a/src/pages/poems/index.astro b/src/pages/poems/index.astro index 63e04ba..751fdb0 100644 --- a/src/pages/poems/index.astro +++ b/src/pages/poems/index.astro @@ -30,10 +30,10 @@ let keys = Object.keys(postsByYear).reverse(); keys.map((i) => { return (
-

+

{i}

-
+