added layout to the posts