adds posts to index