diff --git a/brain/data/Render.inc.php b/brain/data/Render.inc.php
index e3b745d..454e925 100644
--- a/brain/data/Render.inc.php
+++ b/brain/data/Render.inc.php
@@ -75,7 +75,11 @@ class Render
$limit = 4;
foreach ($pages as $page) {
$pageOptions = Sorting::page($page);
- $template = $this->theme . "/" . $page["layout"] . ".twig";
+
+ $layout = $page["layout"];
+ //new pages have no layout, so defautl for now
+ $layout = "page";
+ $template = $this->theme . "/" . $layout . ".twig";
if (str_contains($page["layout"], "index")) {
$location = "../public/index.html";
$dir = null;
diff --git a/brain/views/dash/start.twig b/brain/views/dash/start.twig
index dc2e777..9eabc15 100644
--- a/brain/views/dash/start.twig
+++ b/brain/views/dash/start.twig
@@ -23,5 +23,5 @@
{% endblock %}
{% block javascripts %}
-
+
{% endblock %}
\ No newline at end of file