refactored how post's content gets loaded