compass/doc-src/layouts/main.haml

57 lines
2.3 KiB
Plaintext
Raw Normal View History

!!!5
%html.no-js{:dir => "ltr", :lang => "en"}
%head
%meta{:charset => "utf-8"}/
%meta{:content => "chrome=1", "http-equiv" => "X-UA-Compatible"}
%link(rel="shortcut icon" type="image/png" href="/docs/images/compass_icon.png")
2010-04-21 05:43:25 +00:00
%title
#{@item[:title]} | Compass Documentation
<!--[if !IE 6]><!-->
2010-04-21 05:43:25 +00:00
%link{:charset => "utf-8", :href => "/docs/stylesheets/screen.css", :rel => "stylesheet", :type => "text/css"}
<!--<![endif]-->
/[if gte IE 7]
2010-04-21 05:43:25 +00:00
%link{:charset => "utf-8", :href => "/docs/stylesheets/ie.css", :rel => "stylesheet", :type => "text/css"}
/[if IE 6]
%link{:charset => "utf-8", :href => "http://universal-ie6-css.googlecode.com/files/ie6.0.3.css", :rel => "stylesheet", :type => "text/css"}
2010-04-21 05:43:25 +00:00
%link{ :href => "/docs/stylesheets/ui-lightness/jquery-ui-1.7.2.custom.css", :rel => "stylesheet", :type => "text/css", :media => "screen" }
2010-04-24 17:43:32 +00:00
- if @item[:content_for_additional_css]
%style(type="text/css")= @item[:content_for_additional_css]
%body{body_attributes(@item)}
%nav#skip-links
%a{:href => "#content"} skip to content
%header#banner{:role => "banner"}
%div
%h1.vcard
%a.fn.org.url.uid{:href => "/", :rel => "home"} Compass
%nav#compass-nav
%ul
%li
%a{:href => "/", :rel => "home"} compass
%li
2010-04-24 17:03:34 +00:00
%a{:href => "/docs/"} reference
%li
%a{:href => "/docs/tutorials/"} tutorials
%nav#docs-nav{:role => "navigation"}
%ul
%li
%a{:href => "/docs/"} introduction
%li
2010-04-21 05:43:25 +00:00
%a{:href => "/docs/reference/compass/"} core
%li
2010-04-21 05:43:25 +00:00
%a{:href => "/docs/reference/blueprint/"} blueprint
2010-04-24 17:03:34 +00:00
/
%li
%a{:href => "/docs/plugins/"} plugins
#search-docs
%form
%p
%label{:for => "search"} search
%input#search{:name => "search", :type => "text", :value => "", :placeholder => "Search"}
2010-04-21 16:37:02 +00:00
- if @item[:content_for_module_nav]
%nav#module-nav= @item[:content_for_module_nav]
2010-04-21 05:43:25 +00:00
= yield
%script(src="/docs/javascripts/jquery-1.3.2.min.js")
%script(src="/docs/javascripts/jquery-ui-1.7.2.custom.min.js")
%script(src="/docs/javascripts/fixups.js" deferred)
= render "partials/analytics"