added template for posts