reformat projects/index.html so it uses forloop