--- layout: page title: Categories footer: false comments: false sidebar: false --- <#if site.categories?? && (site.categories?size > 0)> <#macro subcategory parent level> <#if (parent.children?size > 0)>

<#list parent.children as child>
- ${child.name} (${child.posts?size}) <@subcategory parent=child level=level+1/>

<#list site.categories as category> <#if !(category.parent)??>
- ${category.name} (${category.posts?size}) <@subcategory parent=category level=1/>