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
Need help with Astro (zod) collection conversion to Keystatic #1115
Comments
Unfortunately, I am not able to edit the old posts or pages. I got the following error message when I tried to access the relevant pages/posts in the Admin UI:
Any help is appreciated. Link to the repo: https://github.com/neo-art/dante-astro-theme-2AQ.git |
Any help guys? Or some workaround? |
I think the problem is with the front matter of the page. If i look at your repo some pages have this front matter
And other:
Your config says that the seo if a relation so it should be something like this:
Then a test-set.yaml should exist in your seoSchema content collection |
@Matthijz98 thank you for the comment and I appreciate your taking the time to review it. Anyway a few days ago I made some changes to the config (changed it to . TSX) and edited the Keystatic configuration, Still the same error message, no matter what I try and now can't even add a new post in Keystatic admin (blank page). I guess the problem is that I can't match the ZOD schema in Keystatic config file but not sure how to fix it.
|
Hello all,
I am new to Keystatic and Astro and hope to get some help. I am trying to add Keystatic to an existing Astro project but I am stuck with converting the existing ZOD collections to Keystatic.
This is the original theme Astro schema (config.ts):
And this is what I have done so far to the keystatic.config.ts
The text was updated successfully, but these errors were encountered: