fixed to use post format templates
formatting