You need to follow the indentation rules in your pages as well. Each nested tag should be indented two spaces. The tags inside the each loop should be indented two spaces.