Added repeat in main.html