Latest posts (blog feed)

The three newest posts from a blog or newsletter feed: image, date, author, title, a short summary and a link to read each one, from the posts collection that RSS, Substack, Ghost, WordPress and Medium fill.

contentblogpostsrsssubstackghostwordpressmediumcollectionrepeaterdynamicgrid

About this block

Your newest blog posts, read from your Posts collection. Connect your blog on the Apps screen and the cards fill themselves and stay current.

When to use it

  • On your home page or a Blog page, when you write in another tool and want your site to show it.

What's inside

  • A loop over collections.posts, sorted by date, newest first, showing the latest three (fields: title, link, date, summary, image, author).
  • Each card links to the post on the blog it came from, in a new tab.
  • A card without an image shows no image area.

How to customize it

  • To show more posts, change the 3 in the skip line and the md:grid-cols-3 on the grid.
  • If your collection has another slug, change collections.posts to match.

Questions

How fresh are the posts?
As fresh as the last sync. The collection re-syncs every hour, and your published pages update after each sync.

Browse other blocks

Same library cards — preview live and grab the code from any block.

View full library