'; $nav .= $this->build_navigation($tree, $path, $base_page); $nav .= ''; return $nav; } private function build_navigation($tree, $path, $base_page) { $nav = ''; foreach ($tree->value as $url => $node) { if ($node->type === \TodayMade\Daux\Directory_Entry::FILE_TYPE) { if ($node->value === 'index') continue; $link = ($path === '') ? $url : $path . '/' . $url; $nav .= '