Migrate to Netlify Today

Netlify announces the next evolution of Gatsby Cloud. Learn more

ContactSign Up
Community Plugin
View plugin on GitHub

Gatsby Collections

Build Status

Gatsby Collections creates pages from collections of Markdown files, with support for pagination, customizable permalinks, and configurable layouts.

With minimal configuration, a collection of files like this:

src/
  posts/
    - 2018-10-12-one.md
    - 2018-11-24-two.md
    - 2018-12-22-three.md

…becomes a collection of pages like this:

https://foo.bar/posts/2018/10/12/one
https://foo.bar/posts/2018/11/24/two
https://foo.bar/posts/2018/12/22/three

Read the documentation

© 2023 Gatsby, Inc.