compass/doc-src/layouts/main.haml

42 lines
1.7 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
%a{:href => "/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-22 00:33:38 +00:00
%a{:href => "/get-involved", :rel=> "get-involved"} Get Involved
2010-11-17 05:03:42 +00:00
%form#search-docs{:action => "/search/", :method => "GET"}
2010-11-17 05:03:42 +00:00
%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"}
%a{:href => "/reference/blueprint/", :rel => "blueprint"} Blueprint
%a{:href => "/reference/compass/", :rel => "core"} Core
2010-11-17 05:03:42 +00:00
- if @item[:content_for_module_nav]
2010-11-23 06:09:18 +00:00
%nav#module-nav= @item[:content_for_module_nav]
2010-11-15 20:55:09 +00:00
#page
2010-11-23 06:09:18 +00:00
#docs_panel
#theme_pref
%a{:href => "#", :rel => "theme", :title => "switch theme" } switch theme
#syntax_pref
%a{:href => "#", :rel => "scss" } scss
%a{:href => "#", :rel => "sass" } sass
#version
Version:
%a.number(href="/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-11-23 06:09:18 +00:00
%footer(role="contentinfo")= render "partials/footer"
%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]
2010-05-01 22:18:12 +00:00
= render "partials/analytics"