compass/doc-src/layouts/main.haml

38 lines
1.6 KiB
Plaintext
Raw Normal View History

2010-05-01 22:18:12 +00:00
- render "basic" do
#wrap
%header#banner{:role => "banner"}
2010-11-17 05:03:42 +00:00
%nav#main-nav{:role => "navigation"}
2010-04-26 23:06:56 +00:00
%ul
2010-11-17 05:03:42 +00:00
%li.vcard
%a.fn.org.url.uid{:href => "/", :rel => "home"} Compass
2010-04-24 17:03:34 +00:00
%li
2010-11-17 05:03:42 +00:00
%a.here{:href => "/docs/reference/compass/", :rel => "documentation"} Docs
2010-04-26 23:06:56 +00:00
%li
2010-11-17 05:03:42 +00:00
%a{:href => "/help", :rel=> "help"} Get Help
2010-04-26 23:06:56 +00:00
%li
2010-11-17 05:03:42 +00:00
%a{:href => "/get-involved", :rel=> "contribute"} Get Involved
%form#search-docs{:action => "/docs/search/", :method => "GET"}
%input#search{:name => "q", :type => "text", :value => "", :placeholder => "Search the docs"}
2010-11-21 23:33:58 +00:00
#sub-nav
2010-11-17 05:03:42 +00:00
%nav#docs-nav{:role => "navigation"}
2010-11-21 23:33:58 +00:00
%a{:href => "/docs/reference/blueprint/", :rel => "blueprint"} Blueprint
%a{:href => "/docs/reference/compass/", :rel => "core"} Core
2010-11-17 05:03:42 +00:00
- if @item[:content_for_module_nav]
2010-11-21 23:33:58 +00:00
%nav#module-nav= @item[:content_for_module_nav]
2010-11-15 20:55:09 +00:00
#page
2010-11-17 05:03:42 +00:00
#version
Version:
%a.number(href="/docs/CHANGELOG/")= compass_version
2010-11-15 20:55:09 +00:00
= yield
2010-11-17 05:03:42 +00:00
-#comments= render "partials/disqus_comments"
2010-05-01 22:18:12 +00:00
%footer(role="contentinfo")= render "partials/footer"
%script(src="/docs/javascripts/jquery-1.3.2.min.js")
%script(src="/docs/javascripts/fixups.js" deferred)
%script{:src => "/docs/javascripts/shCore.js", :type => "text/javascript"}
%script{:src => "/docs/javascripts/shBrushCss.js", :type => "text/javascript"}
%script{:src => "/docs/javascripts/shBrushSass.js", :type => "text/javascript"}
%script{:src => "/docs/javascripts/shBrushScss.js", :type => "text/javascript"}
= @item[:content_for_javascripts]
2010-05-01 22:18:12 +00:00
= render "partials/analytics"