add new posts and edit template