extracted posts from posts index to a partial