Define postFormat in post template.