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

Feature: From Contentlayer to Content Collections #254

Closed
Codehagen opened this issue Jul 23, 2024 · 5 comments
Closed

Feature: From Contentlayer to Content Collections #254

Codehagen opened this issue Jul 23, 2024 · 5 comments
Assignees
Labels
💡 feature Requests for new features or enhancements. 🚀 Good first issue Good for newcomers

Comments

@Codehagen
Copy link
Owner

Codehagen commented Jul 23, 2024

Type of feature

💡 Feature

Current behavior

We are currently using Contentlayer, a content SDK that transforms Markdown & MDX content into type-safe JSON data for React applications.

Suggested solution

Remove Contentlayer and move into Content Collections. Content Collections is a Contentlayer-inspired content framework created by Sebastian Sdorra. It addresses limitations found in Contentlayer, such as the inability to define an email or URL type for a given field.

Additional context

Contentlayer has been effectively unmaintained since their main sponsor, Stackbit, was acquired by Netlify. Additionally, there are issues like Next.js App Router incompatibility. Here is a link to see how we need to do it:
Content Collections Blog Post

Here is their GitHub repository:
Content Collections GitHub

@Codehagen Codehagen added 💡 feature Requests for new features or enhancements. 👀 Exploration Pending labels Jul 23, 2024
Copy link

linear bot commented Jul 23, 2024

BAD-48 Feature: xxx

@Codehagen Codehagen changed the title Feature: xxx Feature: From Contentlayer to Content Collections Jul 23, 2024
@akyndev
Copy link

akyndev commented Jul 24, 2024

.take

Copy link

Thanks for taking this issue! Let us know if you have any questions!

@akyndev
Copy link

akyndev commented Aug 10, 2024

raw

What's the value of raw parsed in the body, it doesn't seems to be on content-collections body

@Codehagen
Copy link
Owner Author

Big Rework on Badget - Autoclose all PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 feature Requests for new features or enhancements. 🚀 Good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants