- var targs = $.extend({}, {"hits": data.hits}, that.config.template_vars);
- that.node.html(template(targs));
+ var summaryPartial = team.loadTemplate(that.config['summary-template'] || "summary");
+ var tdata = $.extend({}, {"hits": data.hits}, that.config.template_vars);
+ that.node.html(template(tdata, {"partials":{"summary":summaryPartial}}));