cogear.js
cogear.js copied to clipboard
Data files and collections
@codemotion great initiative you started here, thank you!
What are your thoughts on jekyll's data files and collections that provide users with re-usable data stores which then can be used to autogenerate content across pages. Do you plan for something similar in cogear.js?
Hi, kropsi! Thanks.
You can use sections in config.yaml to provide any data to the templates.
Look at that: https://github.com/codemotion/cogearjs.org/blob/master/config.yaml
How blog author data is provided and given to any blog post template.
If you would mind to write a plugin for different approach (like in Jekyll) or to embed this feature into the core — you're welcome.