{% use "my_blocks.js" %} {% set view = "categories" %} {{block('menu')}} {# this assign need for breadcrumbs below #} {% if categories|length == 1 %} {% set category = categories|first %} {% endif %} {{block('breadcrumbs')}} {{block('messages')}} {% for category in categories %} {# Wrapping categories to seperate containers, if user wants to change it individually #} {% if categories|length != 1 %}