<#macro pageTree filepath=''> <@_templateList path=filepath> <#list list as a> <@t.merge 'pages' filepath+'/'+a.fileName/> <@_sysDeptPage deptId=admin.deptId!'' pages=t.pages!><#assign deptPageMap=map!/> <#list list as a> <#local path=filepath+'/'+a.fileName> <#if (deptPageMap[path])?has_content&&deptPageMap[path]>
  • <#if a.directory> ${a.fileName} <#else> <@_metadata path=path> ${(object.alias)?has_content?then(object.alias+' ('+a.fileName+')',a.fileName)}
  • <#else>
  • <@t.page 'empty_directory'/>