mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 19:36:08 +01:00
increased indent level and default 4 chars indent
This commit is contained in:
@@ -1436,7 +1436,7 @@ class Admin
|
||||
'data' => $data]));
|
||||
|
||||
$page->header($header);
|
||||
$page->frontmatter(Yaml::dump((array)$page->header(), 10, 2, false));
|
||||
$page->frontmatter(Yaml::dump((array)$page->header(), 20));
|
||||
} else {
|
||||
// Find out the type by looking at the parent.
|
||||
$type = $parent->childType()
|
||||
|
||||
@@ -1871,7 +1871,7 @@ class AdminController extends AdminBaseController
|
||||
});
|
||||
}
|
||||
$page->header((object)$header);
|
||||
$page->frontmatter(Yaml::dump((array)$page->header()));
|
||||
$page->frontmatter(Yaml::dump((array)$page->header()), 20);
|
||||
}
|
||||
// Fill content last because it also renders the output.
|
||||
if (isset($input['content'])) {
|
||||
|
||||
Reference in New Issue
Block a user