list of pages should show all except root

This commit is contained in:
Andy Miller
2015-08-05 18:06:50 -06:00
parent 29cb55e91c
commit a1ad9b7f4d

View File

@@ -384,7 +384,8 @@ class Pages
}
$list = array();
if ($current->routable()) {
if (!$current->root()) {
$list[$current->route()] = str_repeat('  ', ($level-1)*2) . $current->title();
}