Changed template/layout concat to use array var instead