From fec4c3fb82b3c45b0dc6b589629e761020bc6cfa Mon Sep 17 00:00:00 2001 From: flaskfarm Date: Wed, 12 Oct 2022 18:45:53 +0900 Subject: [PATCH] update --- lib/framework/templates/macro_menu.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 %}