Add layout to pages