--- id: nav_item description: | One top-level page (loop variable nav_page, set in the nav template). Uses href (navlink is not a page key), navTitle for the menu label, and marks the active page by uid, because page.current follows the page selected in the editor, not the page being exported. Pages hidden from the navigation are skipped; when a parent is hidden its visible children are promoted to the top level, as before. --- :( if @count(nav_page.children) < 1 ): :( if nav_page.disableNav )::( else ):