only put published posts in the post index