Nasted layout templates