split html into handlebars partials