Refactored default_post_contents into posts layout