Skip to content

Commit

Permalink
added home page layout for serving new home page deisgn
Browse files Browse the repository at this point in the history
  • Loading branch information
imathis committed Nov 13, 2010
1 parent 9338e13 commit 21a316c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc-src/content/homepage.haml
@@ -0,0 +1,7 @@
---
title: Compass Home
body_id: home
layout: homepage
---

Yo!
15 changes: 15 additions & 0 deletions 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"

0 comments on commit 21a316c

Please sign in to comment.