mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-02 03:16:11 +01:00
Fix for modular preview not functioning as expected #254
This commit is contained in:
@@ -1414,6 +1414,12 @@ class AdminController
|
||||
$name .= '.md';
|
||||
$page->name($name);
|
||||
$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
|
||||
|
||||
Reference in New Issue
Block a user