compass/doc-src/layouts/main.haml

40 lines
1.3 KiB
Plaintext
Raw Normal View History

2010-05-01 22:18:12 +00:00
- render "basic" do
#wrap
%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#docs-nav{:role => "navigation"}
2010-04-26 23:06:56 +00:00
.container
%ul
2010-04-24 17:03:34 +00:00
%li
2010-04-26 23:06:56 +00:00
%a{:href => "/docs/"} introduction
%li
%a{:href => "/docs/reference/compass/"} core
%li
%a{:href => "/docs/reference/blueprint/"} blueprint
%li
%a{:href => "/docs/tutorials/"} tutorials
2010-04-26 23:06:56 +00:00
/
%li
%a{:href => "/docs/plugins/"} plugins
#version
Current Version:
2010-04-27 07:35:16 +00:00
%a.number(href="/docs/CHANGELOG/")= compass_version
2010-04-26 23:06:56 +00:00
#search-docs
2010-05-08 22:23:07 +00:00
%form{:action => "/docs/search/", :method => "GET"}
2010-04-26 23:06:56 +00:00
%p
%label{:for => "search"} search
2010-05-08 22:23:07 +00:00
%input#search{:name => "q", :type => "text", :value => ""}
2010-04-21 16:37:02 +00:00
- if @item[:content_for_module_nav]
%nav#module-nav= @item[:content_for_module_nav]
#page= yield
2010-05-01 22:18:12 +00:00
#wrap-footer
%footer(role="contentinfo")= render "partials/footer"
%script(src="/docs/javascripts/jquery-1.3.2.min.js")
%script(src="/docs/javascripts/fixups.js" deferred)
= @item[:content_for_javascripts]
2010-05-01 22:18:12 +00:00
= render "partials/analytics"