Search
Search
Displays latest items from posts, projects…
blocks:
- type: latest
heading: {} # (optional)
surtitle: '' # string (optional)
title: '' # string (optional)
text: '' # markdown (optional)
section: '' # string [posts, publications, products…]
count: 4 # number, defaults to 3 (optional)
show_more: true # boolean, adds a link to the section index (optional)
ui: {} # (optional)
theme: '' # [accent, black, dark, highlight, light, neutral, white] (optional)
grid: '' # [xsmall, small, medium, large, container, full] (optional)
offset: '' # [start, center, end] (optional)
align: '' # [start, center, end] (optional)
layout: '' # [grid, list] (optional)
scrollsnap: '' # [none, sm, md, lg, xl, all] or object (optional)
Pages are ordered pinned first — those with a weight — then by date when the section has one, by title otherwise. section: pages picks up every page flagged isPage: true.
The block class carries the section, block-latest-posts, so a section can be styled on its own.
See Common keys for heading, footing, scrollsnap and the full ui reference.
| CMS | Hugolify Admin v2 |
|---|---|
| CloudCannon | Available |
| Decap CMS | Available |
| Netlify CMS | Available |
| Pages CMS | Available |
| Static CMS | Available |
| Sveltia CMS | Available |
| Tina CMS | Available |