link to posts via pretty url on blog index
removed console.log from example code to make it more succinct
show all posts on blog index page