#set $first = True
#for $menuItem in $submenu:
#if 'requires' not in $menuItem or $menuItem.requires():
#if type($menuItem.path) == dict:
#if $first then "" else " "#$menuItem.title
#set $first = False
#set $inner_first = True
#for $cur_link in $menuItem.path:
#if $inner_first then "" else "· "#$cur_link
#set $inner_first = False
#end for
#else
#if $first then "" else ""#$menuItem.title
#set $first = False
#end if
#end if
#end for
#end if