#macro placeList filepath=''> <@tools.fileList path='/include'+filepath orderField='createDate'> <#list list as a> <@t.merge 'pages' '/include'+filepath+'/'+a.fileName/> #list> <@sys.deptItem itemType='page' deptId=admin.deptId!'' itemIds=t.pages!><#assign deptPageMap=map!/>@sys.deptItem> <#list list as a> <#local currentPath=filepath+'/'+a.fileName> <#if (deptPageMap['/include'+currentPath])?has_content&&deptPageMap['/include'+currentPath]>