%html

%ead
  %syle{:type => 'text/css'}=css
%ody
  %l.breadcrumb.well{:style=>'margin-bottom:0;'}
    %i.active
      Documentation
  .container
    %1=base.name
    %l
      - base.collections.each do |c|
        %i
          %{:href => url(c.docs_url) }=c.collection_name.to_s.split('_').map {|p| p.capitalize}.join(' ')

  %ooter.footer
    .container
      %
        Documentation generated by
        %{ :href => 'http://github.com/mifo/sinatra-rabbit'} Rabbit
        extension.