add template for posts