add repeat block in layout