Fixed bug in post template