is_root python:current_web_site is current_web_section;
">
<tal:block tal:define="menu_item_list_list python: [context.restrictedTraverse(x).WebSection_getSiteMapTree(depth=1) for x in subsection_list] if (is_root or len(current_web_section.WebSection_getSiteMapTree(depth=1))==0) else [current_web_section.WebSection_getSiteMapTree(depth=1)]">
<tal:block tal:define="menu_item_list_list python: [context.restrictedTraverse(subsection_list[0]).WebSection_getSiteMapTree(depth=1)] if is_root else [current_main_section.WebSection_getSiteMapTree(depth=1) for x in subsection_list if current_main_section.getRelativeUrl() == x]">
<value><string>python: [(x.getTitle(), x.getRelativeUrl()) for x in context.objectValues(portal_type=\'Web Section\') if x.getVisible()]</string></value>
<value><string>python: [(x.getTitle(), x.getRelativeUrl()) for x in context.objectValues(portal_type=\'Web Section\', sort_on=\'int_index\') if x.getVisible()]</string></value>