mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 07:17:16 +02:00
various minor fixes
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user