I’m trying to use CLNDR.js:
https://kylestetz.github.io/CLNDR/
https://atmospherejs.com/ericksond/clndr
And the events it pulls from are assigned into an events array where i have being set in a helper for my template.
var events = [
{ date: '01-01-2016', title: 'event name' },
{ date: '01-02-2016', title: 'event name 2' } ];
Is it possible within a client helper to set an array from my mongo document that would pull only the date and title fields to insert into this? I can’t find too many examples of this within a helper. Any guidance appreciated.