-
Notifications
You must be signed in to change notification settings - Fork 0
feat(examples): add blog example #199
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
base: main
Are you sure you want to change the base?
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| return ( | ||
| <div className="h-full overflow-y-auto"> | ||
| <div className="container mx-auto mt-8"> | ||
| <BlogPost deepdish={{ key: slug }} /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is brittle. The slug property of the blogSchema can ultimately be anything, but it has to match the key exactly AND be URL-safe. It would be nice to support some sort key aliasing or something so that people can have nice slugs that correspond 1-1 with a DeepDish key.
No description provided.