From fbd922a36d104b43d5809077014cd2b36ab5867c Mon Sep 17 00:00:00 2001 From: tdreyno Date: Thu, 1 Oct 2009 15:41:00 -0700 Subject: [PATCH] fix init template --- lib/middleman/template/views/index.html.haml | 4 ++++ lib/middleman/template/views/layout.html.haml | 7 +++++++ lib/middleman/template/views/stylesheets/site.css.sass | 1 + 3 files changed, 12 insertions(+) create mode 100644 lib/middleman/template/views/index.html.haml create mode 100644 lib/middleman/template/views/layout.html.haml create mode 100644 lib/middleman/template/views/stylesheets/site.css.sass diff --git a/lib/middleman/template/views/index.html.haml b/lib/middleman/template/views/index.html.haml new file mode 100644 index 00000000..7b2bc807 --- /dev/null +++ b/lib/middleman/template/views/index.html.haml @@ -0,0 +1,4 @@ +- content_for :head do + %title Custom head title + +%h1 The Middleman is watching. \ No newline at end of file diff --git a/lib/middleman/template/views/layout.html.haml b/lib/middleman/template/views/layout.html.haml new file mode 100644 index 00000000..f53be024 --- /dev/null +++ b/lib/middleman/template/views/layout.html.haml @@ -0,0 +1,7 @@ +%html + %head + %title The Middleman! + = yield_content :head + + %body + = yield \ No newline at end of file diff --git a/lib/middleman/template/views/stylesheets/site.css.sass b/lib/middleman/template/views/stylesheets/site.css.sass new file mode 100644 index 00000000..7afde1f8 --- /dev/null +++ b/lib/middleman/template/views/stylesheets/site.css.sass @@ -0,0 +1 @@ +@import compass/reset.sass \ No newline at end of file