[%- USE L %]
[%- USE HTML %]
[%- %]
[%- BLOCK submenu %]
[%- IF top %][% menu.name_for_node(node) | html %]
[%- ELSIF node.children %][% menu.name_for_node(node) | html %]
[%- ELSE %][% L.link(menu.href_for_node(node), menu.name_for_node(node), title=menu.name_for_node(node), target=node.target) %]
[%- END %]
[%- IF node.children %][%- FOREACH node = node.children %][% NEXT UNLESS node.visible %]- [% PROCESS submenu top=0 %]
[% END %]
[%- END %]
[%- END %]