set layout to post