% layout('layouts/default.html', {title: '站点地图', libs: []}){ %>
站点地图
<#html:foreach items="${siteList()}" var="site">
${site.siteName}
<#html:foreach items="${categoryList(site.siteCode, '0', -1, '')}" var="category">
-
${category.categoryName}
<#html:set value="${categoryList(site.siteCode, category.categoryCode, -1, '')}" export="categoryList" />
<#html:if test="${isNotEmpty(categoryList)}">
-
<#html:foreach items="${categoryList}" var="category">
${category.categoryName}
#html:foreach>
#html:if>
#html:foreach>
#html:foreach>
<% } %>