Split out index view into layout and index partial