Moved index page template to a file