Add resources to posts and comments