# var level5pages = structure.find('page[level="4"][isActive="1"] page[level="5"]'); #>
<# for(var i=0; i < level5pages.length; i++) {
var level5 = $(level5pages[i]);
var level6pages = level5.find('page[level="6"]'); #>
<# if(level5.attr('isActive') == '1' && level6pages.length > 0) { #>
- <#= level5.attr('title') #>
<# } else { #>
- ><#= level5.attr('title') #>
<# } #>
<# } #>