fix generation of post snippet in tag pages