added a template for posts