added home page layout for serving new home page deisgn
This commit is contained in:
parent
e9d33c1b62
commit
e09de2628a
7
doc-src/content/homepage.haml
Normal file
7
doc-src/content/homepage.haml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Compass Home
|
||||
body_id: home
|
||||
layout: homepage
|
||||
---
|
||||
|
||||
Yo!
|
15
doc-src/layouts/homepage.haml
Normal file
15
doc-src/layouts/homepage.haml
Normal 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"
|
Loading…
Reference in New Issue
Block a user