Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.0] [RFC] Frontmatter Conventions #1131

Closed
secretfader opened this issue Jun 8, 2017 · 3 comments
Closed

[1.0] [RFC] Frontmatter Conventions #1131

secretfader opened this issue Jun 8, 2017 · 3 comments
Labels
stale? Issue that may be closed soon due to the original author not responding any more. type: question or discussion Issue discussing or asking a question about Gatsby

Comments

@secretfader
Copy link

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.

@millette
Copy link
Contributor

millette commented Jun 9, 2017

I noticed draft field was required when I use the feed plugin. Is there a way to specify a default value (true for draft, for example)? For now, I added a draft field to each of my posts.

@secretfader secretfader changed the title [1.0] Frontmatter Conventions [1.0] [RFC] Frontmatter Conventions Jun 10, 2017
@jbolda jbolda added v1 type: question or discussion Issue discussing or asking a question about Gatsby labels Jun 11, 2017
@stale
Copy link

stale bot commented Dec 8, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale? Issue that may be closed soon due to the original author not responding any more. label Dec 8, 2017
@stale
Copy link

stale bot commented Dec 23, 2017

This issue has been automatically closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale? Issue that may be closed soon due to the original author not responding any more. type: question or discussion Issue discussing or asking a question about Gatsby
Projects
None yet
Development

No branches or pull requests

3 participants