add style and default template for posts