description = "Categories" [viewBag] == {% if blogCategories.categories %}

Categories

{% set totalPostCount = 0 %} {% for category in categories %} {% set postCount = category.post_count %} {% set totalPostCount = totalPostCount + postCount %} {% endfor %} All {{ totalPostCount }} {% if blogCategories.categories %} {% for category in categories %} {% set postCount = category.post_count %} {% if category.children is not empty %}
{% for subcategory in category.children %} {% set SubPostCount = subcategory.post_count %} {% if subcategory.children is not empty %}
{% for childcategory in subcategory.children %} {% set childPostCount = childcategory.post_count %} {% if childcategory.children is not empty %}
{% for subchildcategory in childcategory.children %} {% set subChildPostCount = subchildcategory.post_count %} {{ subchildcategory.name }} {% if subChildPostCount %} {{ subChildPostCount }} {% endif %} {% endfor %}
{% endif %} {% endfor %}
{% endif %} {% endfor %}
{% endif %} {% endfor %} {% endif %}
{% endif %}