switch template to index.html