mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 19:36:08 +01:00
Fix for modular preview not functioning as expected #254
This commit is contained in:
@@ -1414,6 +1414,12 @@ class AdminController
|
|||||||
$name .= '.md';
|
$name .= '.md';
|
||||||
$page->name($name);
|
$page->name($name);
|
||||||
$page->template($type);
|
$page->template($type);
|
||||||
|
|
||||||
|
// unset some header things, template for now as we've just set that
|
||||||
|
if (isset($input['header']['template'])) {
|
||||||
|
unset($input['header']['template']);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Special case for Expert mode: build the raw, unset content
|
// Special case for Expert mode: build the raw, unset content
|
||||||
|
|||||||
Reference in New Issue
Block a user