notes for Loops in silverstripe:
<% loop Children.Limit(5) %> <% if $MultipleOf(5) %> <div class="unit size1of5 lastUnit"> <% else %> <div class="unit size1of5"> <% end_if %> <article> <h1>$Date.nice</h1> <h2>Variety</h2> <p>$Variety </p> <h2>Vegi</h2> <p>$Vegi</p> <h2>Classic</h2> <p>$Classic</p> </article> </div> <% end_loop %> http://doc.silverstripe.org/framework/en/reference/templates