adding new post, various changes to template