various minor fixes

This commit is contained in:
Andy Miller
2014-11-28 18:26:12 -07:00
parent 6e73469691
commit 845d8d9479
5 changed files with 3 additions and 3 deletions

View File

@@ -450,7 +450,7 @@ class Admin
$page->frontmatter(Yaml::dump((array) $page->header()));
} else {
// Find out the type by looking at the parent.
$type = $parent->child_type() ? $parent->child_type() : $parent->blueprints()->get('child_type', 'default');
$type = $parent->childType() ? $parent->childType() : $parent->blueprints()->get('child_type', 'default');
$page->name($type.CONTENT_EXT);
$page->header();
}