compass/doc-src/layouts/blog.haml
2011-04-17 01:49:19 -07:00

18 lines
562 B
Plaintext

- render "basic" do
#wrap
= render "partials/main-navigation"
#sub-nav
- p = previous_post
- n = next_post
- if p || n
%nav#docs-nav{:role => "navigation"}
- if p
%a{:href => p.rep_named(:default).path, :title => p[:title]} « Previous Post
- if n
%a{:href => n.rep_named(:default).path, :title => n[:title]} Next Post »
#page
= yield
%footer(role="contentinfo")= render "partials/footer"
= @item[:content_for_javascripts]
= render "partials/analytics"