Render html files from template files for component