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

Migrate links.yaml to Netlify CMS Collections #155

Closed
philsturgeon opened this issue Mar 17, 2020 · 3 comments
Closed

Migrate links.yaml to Netlify CMS Collections #155

philsturgeon opened this issue Mar 17, 2020 · 3 comments
Assignees

Comments

@philsturgeon
Copy link
Owner

Split links.yaml into a NetlifyCMS collection

It would be easier to treat case by case, instead of having a
massive file that gets changed in every change under netlify-cms.

For instructions on setting this up in Gatsby, they've got a tutorial: https://www.gatsbyjs.org/docs/sourcing-from-netlify-cms/#setup

@philsturgeon philsturgeon self-assigned this Mar 17, 2020
rapzo added a commit to rapzo/awesome-earth that referenced this issue Mar 17, 2020
rapzo added a commit to rapzo/awesome-earth that referenced this issue Mar 17, 2020
@rapzo
Copy link

rapzo commented Mar 17, 2020

The slug configuration might be useful as well, specially if a timestamp is, somewhat, useful for sorting
https://www.netlifycms.org/docs/configuration-options/#slug

@philsturgeon
Copy link
Owner Author

Looks like we're still using links.yaml in netlify-cms too, #156 just part of it? What do we do next?
image

rapzo added a commit to rapzo/awesome-earth that referenced this issue Mar 19, 2020
…to a folder collection

- added integrated terminal as option for debug
@rapzo
Copy link

rapzo commented Mar 19, 2020

This PR should fix all broken thingies. Sorry about that. I might have been using a cached version and was focused on having the admin working.

philsturgeon pushed a commit that referenced this issue Mar 20, 2020
…collection (#157)

* fix(#155): fix for broken nomenclature after moving data to a folder collection

- added integrated terminal as option for debug

* Remove charity_url from the list since it is commented

* Add slug to all links and config to keep order
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

2 participants