-
Notifications
You must be signed in to change notification settings - Fork 38
Add tag taxonomy to blog example #12
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
Add tag taxonomy to blog example #12
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
✅ Deploy Preview for next-contentlayer-example ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@seancdavis Okay, I think I've officially had too much fun with this 😄 |
@lucperkins How do you feel about splitting this off into a separate example? That way the example can stay focused, and our primary example can stay super simple. |
Works for me! I'll get that cooking pretty soon here. |
@seancdavis I've got this working locally. Were you thinking that I should keep this example under my GitHub org and just have it as a personal project or would you like to it have it under the CL org? |
@lucperkins I'd say keep it under your user for now. But you can then open up a PR in contentlayerdev/website to add the example to the /examples page. |
This PR adds a tag taxonomy to the blog example. Specifically, it adds a
tags
field to thePost
type and a/tags/[tag]
endpoint.