diff --git a/lib/framework/templates/macro_menu.html b/lib/framework/templates/macro_menu.html index fc7a5fa..d21c344 100644 --- a/lib/framework/templates/macro_menu.html +++ b/lib/framework/templates/macro_menu.html @@ -46,10 +46,10 @@ {% if category_child['uri'] == menu[0] %} {{ category_child['name'] }} {% else %} - {% if category_child['target'] == '__blank' %} - {{ category_child['name'] }} + {% if 'target' in category_child %} + {{ category_child['name'] }} {% else %} - {{ category_child['name'] }} + {{ category_child['name'] }} {% endif %} {% endif %} {% endif %}