'; $nav .= $this->build_navigation($tree, $path, $current_url, $base_page, $mode); $nav .= ''; return $nav; } private function build_navigation($tree, $path, $current_url, $base_page, $mode) { $nav = ''; foreach ($tree->value as $node) { $url = $node->getUri(); if ($node instanceof \Todaymade\Daux\Tree\Content) { if ($node->value === 'index') continue; $nav .= '