Changed the design of single_post and new_post in accordance with all_posts.php