Index and Main page template