How to determinate first element in childrens loop when className is XPTO
Using the $Pos not a solution because the first children can not be the Page with className XPTO.
<% loop $Children %>
<% if ClassName == XPTO %>
<li class="col-xs-2 <% if <b>$CustomCount == 1</b> %>active<% end_if %>"><a data-toggle="tab" href="#tab-$ID">$Title</a></li>
<% else %>
<li class="col-xs-4">$Title</li>
<% end_if %>
<% end_loop %>