{% macro build_node(node, style="", allow_hover=True) %} {% with has_children = node.get_children(show_in_menu=True).count() %}