move template to index.html