added home page layout for serving new home page deisgn

This commit is contained in:
B Mathis 2010-11-13 16:42:55 -06:00 committed by Chris Eppstein
parent e9d33c1b62
commit e09de2628a
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,7 @@
---
title: Compass Home
body_id: home
layout: homepage
---
Yo!

View File

@ -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"