How can I present different types in my sitemap.
Standard it only present the rootlevel type Page. What if, for example, there is a articlePage and a Page type?
function SiteMap() {
$rootLevel = DataObject::get("Page", "ParentID = 0"); // Pages at the root level only
$output = "";
$output = $this->makeList($rootLevel);
return $output;
}