Set layout when injecting meta