I’m using the Jekyll Netlify CMS Boilerplate template to learn how Netlify CMS works.
I was able to add a new field to the pages in the page collection, but I was curious if there is a way to add fields to only one specific page within a collection. Much like the ability I have in Jekyll to add front matter to Page A without it affecting Page B.
For instance, the ability to add a set of fields to the About page admin via config.yml but not on any other page in the same collection.
Potential approaches
- Add fields to all pages in the collection. Make them optional in the admin, and conditional on the front end.
- Add fields to all pages in the collection. Use CSS in Admin to hide them on the other pages (haven’t tested this but it might work? at a second glance there aren’t unique IDs on each field.)
- Suck it up. Embrace everything that already works well and stop trying to make this feel like WordPress.