added template support for comments, posts, etc.