set layout to last post