diff --git a/src/components/card/BlogListingCard.astro b/src/components/card/BlogListingCard.astro index e249efd..ef507b0 100644 --- a/src/components/card/BlogListingCard.astro +++ b/src/components/card/BlogListingCard.astro @@ -12,10 +12,10 @@ const { title, description, href, thumbnail, author, date } = --- - -
-

{author}

-

{date}

+ +
+

{author}

{date}

{title}

-

{description.slice(0, 200)}

+

{description.slice(0, 200)}...

diff --git a/src/components/homepage/BlogPosts.astro b/src/components/homepage/BlogPosts.astro index 48541f4..31673ef 100644 --- a/src/components/homepage/BlogPosts.astro +++ b/src/components/homepage/BlogPosts.astro @@ -14,8 +14,8 @@ const posts = await Astro.glob("../../pages/posts/*.md"); ---
-
-
+
+

Latest blog posts

@@ -33,7 +33,7 @@ const posts = await Astro.glob("../../pages/posts/*.md"); >
-
+
{ posts .slice(0, 2) diff --git a/src/pages/blog.astro b/src/pages/blog.astro index d1a3169..1b68ea1 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -16,8 +16,8 @@ const posts = await Astro.glob("./posts/*.md"); --- -
-
+
+
{ posts .sort(