mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-06 20:16:52 +02:00
Revert "Fix for modular preview not functioning as expected #254"
This reverts commit a2275b8b73.
This commit is contained in:
@@ -2001,12 +2001,6 @@ 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