<% if len(list.ChildrenList) == 0 { %>
  • <%= list.Name %>
  • <% } else { %>
  • <%= list.Name %>
  • <% } %>