added the template for the posts