write post tpl