Add layout configuration to pages