#set ($catalogImage = $config.getString("cms.image.catalog"))
#set ($contentCatalog = $catalog.getItems())
#set ($catalogCounter=1)
#if ($contentCatalog.size() == 0)
This catalog is empty. Use the customize action to add sub-catalogs or contents
#else
#foreach ($item in $contentCatalog)
#if ($item.getType() == "Catalog")
#if ($catalogCounter == 1)
#set ($uri= $item.getUri())
$item.getTitle() |
#set ($catalogCounter=2)
#else
#set ($uri= $item.getUri())
$item.getTitle() |
#set ($catalogCounter=1)
#end
#end
#end
#end
#if ($contentList== "")
No content in this folder
#else
#set ($contentList = "Content in this folder
$contentList")
#end