Add missing . on getOrCreate

This commit is contained in:
Stéphane Goetz 2016-01-25 14:47:13 +01:00
parent 6111ca46fa
commit ef5dc8ea52
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class Builder
if ($title == '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());
} else {
$page->setName($path);