Latest Posts
The LatestPosts component fetches and displays the most recent blog posts from your content collection.
Usage
import LatestPosts from '~/components/sections/LatestPosts.astro';
<LatestPosts
title="From the Blog"
count={3}
/>
Example
Recent Updates
Stay tuned with our latest news.
• Strategy Blog
Wormholes: Shortcuts in Spacetime
Understanding the bulk beings and the sphere.
Read More
• Joseph • Strategy Blog
The Science of Gargantua
Exploring the physics behind the massive black hole in Interstellar.
Read More
Video
Audio
• Strategy Blog
Staying Behind: Brand's Choice
The lonely colonization of Edmunds’ Planet.
Read More
Props
| Prop | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| title | string | block.title | The section heading. |
| subtitle | string | block.subtitle | The subtext below the heading. |
| viewAllText | string | blog.viewAll | Text for the “View All” link. |
| count | number | 3 | Number of posts to display. |