Working on the index view for layouts.