$page_name";
}
}
if(!empty($navpages)){
$default_page = $routerConfig["default_page"];
$nav_out .= "$site_name";
}
}
return str_replace("__NAV_PAGES__", $nav_out, $nav);
}
function getNavigationEndpoint() :array{
return [
"Status" => "Success",
"Navigation" => generateNavigation(),
];
}