Comments (1)
I've realised it was necessary to tackle this problem in order to even add the category
and license
fields to the dataset form (not just to edit categories and licenses), so I've bit the bullet and wrapped the files in an items
property. An alternative would have been to split them into individual files in _categories
and _licenses
folders, but this seemed preferable.
Doing this breaks the existing JKAN editing UI. We could fix that, but since the plan is to remove that UI in favour of the Netlify CMS UI anyway, I haven't done so.
The only impact I could find on the end-user-facing app is the list of categories on the homepage. I've added a line for backwards compatibility there: if site.data.categories.items
is nil
, it reverts to site.data.categories
.
from jkan.
Related Issues (20)
- Update docs & website to reflect Netlify as recommended hosting provider HOT 2
- Document how to self-host Editor UI HOT 1
- Move categories into a collection HOT 1
- Netlify CMS still supported? HOT 4
- Consider replacing search with Lunr
- Get github-metadata gem working on Netlify HOT 3
- Add a Deploy to Netlify button
- Netlify should automatically use the correct build command HOT 1
- Validate data.json
- Netlify CMS shows empty category when category is a string
- Update docs for v2, and move them to version control
- Check browser support
- Consider publishing an upgrade plugin
- Update jkan.io for v2 HOT 1
- After v2 release, delete the wiki
- Improve the default styles HOT 11
- When should we markdownify things? HOT 2
- strict_front_matter: true important for GitHub flow
- does JKAN server host the data or is it just a list of links for data hosted somewhere else? HOT 3
- Bump GitHub Action workflows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jkan.