{% set current_menu = request.full_path | get_menu %}
{% set menu_map = get_menu_map() %}
{% for category in menu_map %}
{% for category_child in category['list'] %}
{% if current_menu[0] == category_child['uri'] %}
{{category['name']}} ➤ {{category_child['name']}}
{% for module in category_child['list'] %}
{% if current_menu[0] == 'setting' %}
{% if current_menu[1] == module['uri'] or (current_menu[2] is not none and current_menu[1] + "/" + current_menu[2] == module['uri']) %}
{% endif %}
{% else %}
{% if current_menu[1] == module['uri'] or (current_menu[2] is not none and current_menu[1] + "/" + current_menu[2] == module['uri']) %}
{% if 'target' in module and module['target'] == '_blank' %}
{% set current_menu = request.full_path | get_menu %}
{% set menu_map = get_menu_map() %}
{% for category in menu_map %}
{% for plugin in category['list'] %}
{% if current_menu[0] == plugin['uri'] and 'list' in plugin %}
{% for module in plugin['list'] %}
{% if module['uri'] == current_menu[1] and 'list' in module%}
{% for page in module['list'] %}
{% if current_menu[2] == page['uri'] %}