{{$categories = $currentCategory ? $currentCategory->children( 'view', NULL, FALSE ) : \IPS\blog\Category::roots();}} {{if !\IPS\blog\Category::theOnlyNode( array(), TRUE, FALSE ) and \count( $categories )}}

{{if $currentCategory}}{lang="blog_subcategories"}{{else}}{lang="categories"}{{endif}}

{{endif}}