add a post to the index