From e09de2628a6a8d892eeaa1624797c75a66425104 Mon Sep 17 00:00:00 2001 From: B Mathis Date: Sat, 13 Nov 2010 16:42:55 -0600 Subject: [PATCH] added home page layout for serving new home page deisgn --- doc-src/content/homepage.haml | 7 +++++++ doc-src/layouts/homepage.haml | 15 +++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 doc-src/content/homepage.haml create mode 100644 doc-src/layouts/homepage.haml diff --git a/doc-src/content/homepage.haml b/doc-src/content/homepage.haml new file mode 100644 index 00000000..6c8fd7dc --- /dev/null +++ b/doc-src/content/homepage.haml @@ -0,0 +1,7 @@ +--- +title: Compass Home +body_id: home +layout: homepage +--- + +Yo! \ No newline at end of file diff --git a/doc-src/layouts/homepage.haml b/doc-src/layouts/homepage.haml new file mode 100644 index 00000000..07a2c2f9 --- /dev/null +++ b/doc-src/layouts/homepage.haml @@ -0,0 +1,15 @@ +!!! Strict +%html + %head + %title + #{@item[:title]} - Compass + %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" } + - if @item[:meta_description] + %meta{:name => "description", :content => @item[:meta_description]} + %link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png") + %link{ :href => "/docs/stylesheets/legacy/main.css", :rel => "stylesheet", :type => "text/css", :media => "screen" } + %script{:src => "/docs/javascripts/jquery-1.3.2.min.js", :type => "text/javascript"} + %body{body_attributes(@item)} + = yield + %script(src="/docs/javascripts/fixups.js" deferred) + = render "partials/analytics"