fix post detail template