Sections
Latest Posts
Display recent blog posts automatically.
The LatestPosts component fetches and displays the most recent blog posts from your content collection.
Usage
{/* LatestPosts demo (component not bundled) */}
Example
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. |