The current implementation of template.render() assumes that you know exactly what partials (if any) a given template references, which makes calling this method elsewhere somewhat problematic — you need to supply the partial as an argument to the call, which makes dynamically assembling calls to render a bit tricky.
Perhaps I'm missing some crucial detail of how partials are implemented, but if not I'd like to request a feature: that partials can be registered elsewhere (as Handlebars does) and then whenever a template is called it uses a previously registered partial of the appropriate name as it needs to.
For what it's worth we "solved" it by just passing the templates object as the second parameter. Seems to mosty work okay so far.
Yeah, I just pass all my templates in a dictionary to the render call but this could be a good feature.