Adding client side parsing and templates for posts