publish: implemented handlebars templates

generated from commit 028416db051bb69d8df38f3004199491c5e325de