Refactored last modified calculation into the Page/Post object