change text/template to html/template