Add missing . on getOrCreate

This commit is contained in:
Stéphane Goetz 2016-01-25 14:47:13 +01:00
parent 6111ca46fa
commit ef5dc8ea52

View File

@ -190,7 +190,7 @@ class Builder
if ($title == 'index') { if ($title == 'index') {
// TODO :: clarify the difference between 'index' and '_index' // TODO :: clarify the difference between 'index' and '_index'
$page->setName('_index' . pathinfo($path, PATHINFO_EXTENSION)); $page->setName('_index.' . pathinfo($path, PATHINFO_EXTENSION));
$page->setTitle($parent->getTitle()); $page->setTitle($parent->getTitle());
} else { } else {
$page->setName($path); $page->setName($path);