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

Tags Interface for official themes #16695

Closed
ChristopherBiscardi opened this issue Aug 17, 2019 · 0 comments
Closed

Tags Interface for official themes #16695

ChristopherBiscardi opened this issue Aug 17, 2019 · 0 comments

Comments

@ChristopherBiscardi
Copy link
Contributor

Summary

Blog Posts usually have tags and we've included support for tags and keywords in the official blog theme.

Basic example

In the default MDX content format we use in the official themes, the implementation would come out to defining tags like this:

---
tags: [gatsby, gatsby-themes]
---

Some blog post

Where the proxy type MdxBlogPost would also implement Tag:

interface Tag @nodeInterface {
  title: String!
  descriptions: String!
}

Motivation

People like to organize stuff into different topics. Should this be an extension to core? how would we achieve that? Should this be natively implemented by gatsby-theme-blog-core and gatsby-theme-notes-core? Why?

@gatsbot gatsbot bot added the stale? Issue that may be closed soon due to the original author not responding any more. label Sep 7, 2019
@sidharthachatterjee sidharthachatterjee added not stale and removed stale? Issue that may be closed soon due to the original author not responding any more. labels Sep 8, 2019
@gatsbyjs gatsbyjs deleted a comment from gatsbot bot Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants