used a shared partial for the index pages