added a post template and modified base template