You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We already have schemas defined (for datasets, resources, and categories) in _data/schemas/default.yml. See #60 for background.
Configuring Netlify CMS results in quite a lot of duplication here (e.g. Netlify CMS' config.yml vs our existing schema file). That's probably okay for an MVP, but ideally we'd consolidate them, to avoid them getting out of sync.
One thought I had was to have Jekyll run Netlify CMS' config.yml file through its template engine (by adding double --- at the top). This would allow us to effectively generate the collection configuration. But there are some Netlify CMS specific fields that we'd then have to move into the existing schema file. (As an aside, there's also the issue that Netlify CMS uses {{squiggly brackets}} for certain fields like summary). Haven't thought about it much more beyond that yet, but would love to hear thoughts.
The text was updated successfully, but these errors were encountered:
I've started adding some Jekyll variables to the config via JavaScript in index.html. That might help a bit, but probably doesn't resolve the problem described above.
We already have schemas defined (for datasets, resources, and categories) in
_data/schemas/default.yml
. See #60 for background.Configuring Netlify CMS results in quite a lot of duplication here (e.g. Netlify CMS' config.yml vs our existing schema file). That's probably okay for an MVP, but ideally we'd consolidate them, to avoid them getting out of sync.
One thought I had was to have Jekyll run Netlify CMS'
config.yml
file through its template engine (by adding double---
at the top). This would allow us to effectively generate the collection configuration. But there are some Netlify CMS specific fields that we'd then have to move into the existing schema file. (As an aside, there's also the issue that Netlify CMS uses{{squiggly brackets}}
for certain fields like summary). Haven't thought about it much more beyond that yet, but would love to hear thoughts.The text was updated successfully, but these errors were encountered: