format post entry on index