Back to collections
Tool

Astro Content Collections

Astro's typed content layer for turning local Markdown files into static pages and structured indexes.

CategoryStatic Site
Recommend5/5
Use caseUse it for manually maintained directories of notes, posts, bookmarks, docs, and collections.
Updated2026/06/25

Why it is here

Markdown stays editable, the schema catches missing frontmatter, and Astro can generate fast static pages from the same source files.

Maintenance note

When adding a new field, update src/content.config.ts first so broken entries fail during build instead of becoming quiet UI bugs.