diff --git a/brain/data/Render.php b/brain/data/Render.php index 77bc2fd..d0be3a6 100644 --- a/brain/data/Render.php +++ b/brain/data/Render.php @@ -10,13 +10,9 @@ use function _\find; class Render { public $loader; - public $twig; - public $pageInfo; - public $menu; - public $background; public function __construct() @@ -37,7 +33,8 @@ class Render 'baseURL' => $settings['global']['base_url'], ]; //move global theme image assets to public folder - foreach (new \DirectoryIterator('../content/themes/' . $this->theme . '/assets/images/global/') as $file + foreach ( + new \DirectoryIterator('../content/themes/' . $this->theme . '/assets/images/global/') as $file ) { if ($file->isDot()) { continue; diff --git a/brain/views/dash/page-edit.twig b/brain/views/dash/page-edit.twig index 4ed0428..2477ed9 100644 --- a/brain/views/dash/page-edit.twig +++ b/brain/views/dash/page-edit.twig @@ -36,7 +36,7 @@ {% endblock %} {% block stylesheets %} - + {% endblock %} {% block mainContent %} @@ -66,18 +66,30 @@