some work on the index page and the posts partial