updated views/posts/index. can finally see useful code