I would like to pass multiple data sources to an .hbs template as part of a collection. Something like this:
/articles/category:
permalink: /articles/category/{slug}/
filter: tag:my_tag+tag:another_tag
template: articles
data: [tag.my_tag, tag.another_tag]
2 questions:
- Is that possible (the data: [tag.my_tag, tag.another_tag] line)?
- Can someone point me to the right Handlebars syntax for using both my_tag and another_tag in a template?
In Handlebars, I would be interested in using another_tag explicitly. Something like:
{{another_tag.name}}
It would also be interesting if I could use the list of data objects without explicit reference: do this with the first data object, do that with the second, and so on.