Refactor Post.render