Improve tree api

This commit is contained in:
Stéphane Goetz
2015-07-16 11:08:16 +02:00
committed by Stéphane Goetz
parent 290f52d181
commit a044b4b0ca
5 changed files with 61 additions and 26 deletions

View File

@ -56,7 +56,7 @@ class MarkdownPage extends \Todaymade\Daux\Format\Base\MarkdownPage
$entry_page['View Documentation'] = $params['base_page'] . $params['entry_page']->getUrl();
}
} elseif ($params['file_uri'] === 'index') {
$entry_page[$params['entry_page']->title] = $params['base_page'] . $params['entry_page']->getUrl();
$entry_page[$params['entry_page']->getTitle()] = $params['base_page'] . $params['entry_page']->getUrl();
}
$page = [