'; $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 instanceof \Todaymade\Daux\Tree\Content) { if ($node->value === 'index') continue; $link = ($path === '') ? $url : $path . '/' . $url; $nav .= '