Updated code style for posts