compass/doc-src/layouts/main.haml

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{:href => "/reference/compass/", :rel => "documentation"} Docs
%li
%a{:href => "/help", :rel=> "help"} Get Help
%li
%a{:href => "/get-involved", :rel=> "get-involved"} Get Involved
%form#search-docs{:action => "/search/", :method => "GET"}
%input#search{:name => "q", :type => "text", :value => "", :placeholder => "Search the docs"}
#sub-nav
%nav#docs-nav{:role => "navigation"}
%a{:href => "/reference/blueprint/", :rel => "blueprint"} Blueprint
%a{:href => "/reference/compass/", :rel => "core"} Core
- if @item[:content_for_module_nav]
%nav#module-nav= @item[:content_for_module_nav]
#page
#version
Version:
%a.number(href="/CHANGELOG/")= compass_version
= yield
-#comments= render "partials/disqus_comments"
%footer(role="contentinfo")= render "partials/footer"
%script(src="/javascripts/jquery-1.3.2.min.js")
%script(src="/javascripts/fixups.js" deferred)
%script{:src => "/javascripts/shCore.js", :type => "text/javascript"}
%script{:src => "/javascripts/shBrushCss.js", :type => "text/javascript"}
%script{:src => "/javascripts/shBrushSass.js", :type => "text/javascript"}
%script{:src => "/javascripts/shBrushScss.js", :type => "text/javascript"}
= @item[:content_for_javascripts]
= render "partials/analytics"