This is something I've come across a few times. I'd like to do
{{> subtemplate item foo="bar"}}
So that the data context in subtemplate
has all the item fields plus a foo
field. Don't see any way to do this in the docs
https://github.com/meteor/meteor/blob/devel/packages/spacebars/README.md
I know I could make my own helper combine
to use like this: {{> subtemplate combine item "foo" "bar"}}
, but am hoping there's a better way.