<% var headContent = { include("/pages/template/head.html"){} %> <% }; var bodyContent = { %>
    <% for(item in rootList) { %>
  • <% if(map[item.id].~size > 0) { %> <% for(item2 in map[item.id]) { %>
  • <% } %> <% } %> <% } %>
 
<%}; %> <% layout("/pages/template/_layout.html",{head:headContent,body:bodyContent}){ %> <%} %>