<#macro categoryTree parentId=''> <@_categoryList advanced=true parentId=parentId count=500> <#list page.list as a>
  • ${a.name!} <#if a.childIds?has_content>
  • <#else>
  • <@t.page 'empty_directory'/>
  • <#macro lookupTree parentId=''> <@_categoryList advanced=true parentId=parentId> <#list page.list as a>
  • ${a.name!} <#if a.childIds?has_content>
  • <#else>
  • <@t.page 'empty_directory'/>
  • <#macro pageTree filepath=''> <@_templateList path=filepath orderField='createDate'> <#list list as a> <#local path=filepath+'/'+a.fileName>
  • <@_metadata path=path> <#if a.directory> ${(object.alias)?has_content?then(object.alias+' ('+a.fileName+')',a.fileName)} <#else> <#if site.useStatic&&(object.publishPath)?has_content> [<@t.page 'static_page'/>] ${(object.alias)?has_content?then(object.alias+' ('+a.fileName+')',a.fileName)} <#if (object.useDynamic)?has_content&&object.useDynamic> [<@t.page 'dynamic_page'/>] ${(object.alias)?has_content?then(object.alias+' ('+a.fileName+')',a.fileName)}
  • <#else>
  • <@t.page 'empty_directory'/>
  • <#include "lookup_content_list.html"/>
      <@lookupTree/>
      <@pageTree/>