postmetadata align and category template