move templates to html