Moves post index view code to partial
Cleans up views with partials