adding layout to post