compass/doc-src/layouts/main.haml
2010-11-16 23:03:42 -06:00

38 lines
1.6 KiB
Plaintext

- render "basic" do
#wrap
%header#banner{:role => "banner"}
%nav#main-nav{:role => "navigation"}
%ul
%li.vcard
%a.fn.org.url.uid{:href => "/", :rel => "home"} Compass
%li
%a.here{:href => "/docs/reference/compass/", :rel => "documentation"} Docs
%li
%a{:href => "/help", :rel=> "help"} Get Help
%li
%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"}
#subnav
%nav#docs-nav{:role => "navigation"}
%a{:href => "/docs/reference/blueprint/"} Blueprint
%a{:href => "/docs/reference/compass/"} Core
- if @item[:content_for_module_nav]
%nav#module-nav= @item[:content_for_module_nav]
#page
#version
Version:
%a.number(href="/docs/CHANGELOG/")= compass_version
= yield
-#comments= render "partials/disqus_comments"
%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]
= render "partials/analytics"