Moved index page out of templates