mirror of
https://github.com/getgrav/grav.git
synced 2026-05-06 17:17:18 +02:00
list of pages should show all except root
This commit is contained in:
@@ -384,7 +384,8 @@ class Pages
|
||||
}
|
||||
|
||||
$list = array();
|
||||
if ($current->routable()) {
|
||||
|
||||
if (!$current->root()) {
|
||||
$list[$current->route()] = str_repeat(' ', ($level-1)*2) . $current->title();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user