diff --git a/src/pages/blog.astro b/src/pages/blog.astro index 7fa695b..0bc3ac3 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -6,32 +6,26 @@ const allBlogposts = await getCollection('blog'); --- -
-
-
- Blog -
-
-
- { - allBlogposts.map((post) => ( -
-

- - {post.data.title} - -

- - Read more - -
- )) - } -
+
+
+ Blog +
+
+
+ { + allBlogposts.map((post) => ( + + )) + }
diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 6714b35..c13c58e 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -23,8 +23,7 @@ const { title } = entry.data; --- -
+

{title}