@@ -24,5 +25,6 @@
{{ text }}
+{{/inline}}
-{{> footer }}
\ No newline at end of file
+{{/layout}}
\ No newline at end of file
diff --git a/views/partials/head.hbs b/views/layout.hbs
similarity index 56%
rename from views/partials/head.hbs
rename to views/layout.hbs
index ecfc21f..9fd667f 100644
--- a/views/partials/head.hbs
+++ b/views/layout.hbs
@@ -12,4 +12,29 @@
{{!-- This is controlled by the resources router. --}}
-
\ No newline at end of file
+
+
+{{#> header-block }}
+ {{> header }}
+{{/header-block}}
+
+
+{{#> page-content-block }}
+ {{!-- Wrap the actual page content in {{#*inline "page-content-block"}} to insert it here --}}
+{{/page-content-block}}
+
+
+{{#> footer-block }}
+ {{> footer }}
+{{/footer-block}}
+
+{{#> scripts-block }}
+
+{{/scripts-block}}
+
+
+
\ No newline at end of file
diff --git a/views/partials/foot.hbs b/views/partials/foot.hbs
deleted file mode 100644
index 60ec811..0000000
--- a/views/partials/foot.hbs
+++ /dev/null
@@ -1,7 +0,0 @@
-
-