append html to template