Changed post template to add metadata