/gatsby-plugin-collections

Create pages, with support for pagination and customizable permalinks, from a folder of Markdown files.

Primary LanguageTypeScriptMIT LicenseMIT

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