add class to post listing heading
reformat HTML