load: [
function(req, callback) {
// Loads all speakers and assigns them to the `allSpeakers` nunjuck variable
return site.apos.get(req, { type: 'speaker'}, { }, function (err, results) {
if(err) {
callback(err);
}
if(results.total > 0) {
req.extras.allSpeakers = results.pages;
callback(null);
}
})
}
]
--
You received this message because you are subscribed to the Google Groups "apostrophenow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to apostropheno...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.