+ + {post.title} + +
+{post.excerpt || post.description}
+diff --git a/package.json b/package.json index 398f7da..246036f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@onwidget/astrowind", "description": "A template to make your website using Astro + Tailwind CSS.", - "version": "0.5.2", + "version": "0.5.3", "private": true, "scripts": { "dev": "astro dev", diff --git a/src/components/blog/Grid.astro b/src/components/blog/Grid.astro new file mode 100644 index 0000000..4806c54 --- /dev/null +++ b/src/components/blog/Grid.astro @@ -0,0 +1,9 @@ +--- +import Item from '~/components/blog/GridItem.astro'; + +const { posts } = Astro.props; +--- + +
{post.excerpt || post.description}
+{post.excerpt || post.description}
-+ The blog will be used to display AstroWind documentation. Each new article will be an important step that you will + need to know to be an expert in creating a website using Astro + Tailwind CSS The blog does not exist yet, but + very soon. Astro is a very interesting technology. Thanks. +
+
+
~ {Math.ceil(post.readingTime)} min
read
{post.title}
{
- post.image && (
+ post.image ? (