change layout option of each post