Added a partial for posts, which is used by the index and show views.