index.html changed to template