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

Document/example for working with data files #62

Closed
mitchmac opened this issue May 4, 2021 · 4 comments
Closed

Document/example for working with data files #62

mitchmac opened this issue May 4, 2021 · 4 comments

Comments

@mitchmac
Copy link
Contributor

mitchmac commented May 4, 2021

How do I update site-wide config rather than content files?

@DirtyF
Copy link
Contributor

DirtyF commented May 4, 2021

I believe we don't support editing data files for now, you can list options from a JSON file though and make a screen plugin. You can always store site-wide variables in front matter of a Markdown file.

@jeffsee55
Copy link
Member

This would be added with the primitive types work https://github.com/tinacms/rfcs/pull/18

@mitchmac
Copy link
Contributor Author

@jeffsee55 is there a super basic example we could get now that json support is in tina-graphql-gateway? Maybe making the top heading (https://github.com/tinacms/tina-cloud-starter/blob/main/components/helper-components.tsx#L176) configurable?

@jeffsee55
Copy link
Member

@mitchmac we still don't have support for data files. Just json support for collections.

@spbyrne spbyrne closed this as completed Aug 3, 2021
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

4 participants