diff --git a/website/src/components/BlogPost.astro b/website/src/components/BlogPost.astro index b5b82680..6117d3ce 100644 --- a/website/src/components/BlogPost.astro +++ b/website/src/components/BlogPost.astro @@ -1,7 +1,7 @@ --- import type { CollectionEntry } from 'astro:content'; -type Props = CollectionEntry<'blog'>['data']; +type Props = { post: CollectionEntry<'blog'> }; const { post } = Astro.props; const { Content } = await post.render(); @@ -9,7 +9,7 @@ import { format } from 'date-fns'; ---
diff --git a/website/src/pages/blog.astro b/website/src/pages/blog.astro index 80270353..43845a69 100644 --- a/website/src/pages/blog.astro +++ b/website/src/pages/blog.astro @@ -32,7 +32,16 @@ const posts = (await getCollection('blog')).sort((a, b) => compareDesc(a.data.da - {posts.map((post) => )} +
+

Strudel Blog

+

+ Welcome to the Strudel Blog, where you we will keep you updated with the latest changes and things + happening in the strudelsphere. +

+
+
+ {posts.map((post) => )} +