{% if iSubCatDepth == 1 %}
{% set defaultCounter = ( defaultCounter | default(-1) ) + 1 %} {% set iVisibleCategoryCounter = defaultCounter %}
{% for subcatkey, oSubCat in aSubCats %}
{% if loop.first %}
{% endif %}
{% if oSubCat.getIsVisible() %}
{# content categories (e.g. from visual cms) before oxcategories #}
{% for oCont in oSubCat.getContentCats() %}