Skip to content

[1.0] [RFC] Frontmatter Conventions #1131

Closed
@secretfader

Description

@secretfader

Gatsby ingests and processes more markdown sources than anything else. At least a couple plugins from core already assume a default structure for YAML or JSON frontmatter, for example, each markdown file might have the following attributes:

---
draft: true
---

As the plugin ecosystem expands, default frontmatter fields allow authors to build on a standard API. To begin, I propose the above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stale?Issue that may be closed soon due to the original author not responding any more.type: question or discussionIssue discussing or asking a question about Gatsby

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions