Sha256: 48650634b1ab859a110f74c94e03ff0bb95d5c217841d6302b74b7b73a1301c4

Contents?: true

Size: 749 Bytes

Versions: 12

Compression:

Stored size: 749 Bytes

Contents

!!!
%html
  %head
    :css
      h3 { margin-top: 0 }
      .sidebar { float:left; width: 15%; font-size: small }
      .sidebar ul { list-style-type: none; margin-left: 0; padding-left: 0 }
      .page-count { font-size: smaller; color: #CCC }
  %body
    .sidebar
      %h3 Namespaces
      %ul
        - namespaces.each do |namespace, count|
          %li
            - if root 
              %a{:href => "#{namespace}/index.html"}= namespace 
            - else
              %a{:href => "../#{namespace}/index.html"}= namespace 
            %span.page-count
              = count
    .sidebar
      - if ! root
        %h3= namespace
        %ul
          - pages.each do |page|
            %li
              %a{:href => "#{page}.html"}= page

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
soywiki-0.9.1 lib/index_template.html.haml
soywiki-0.9.0 lib/index_template.html.haml
soywiki-0.8.5 lib/index_template.html.haml
soywiki-0.8.4 lib/index_template.html.haml
soywiki-0.8.2 lib/index_template.html.haml
soywiki-0.8.0 lib/index_template.html.haml
soywiki-0.7.9 lib/index_template.html.haml
soywiki-0.7.8 lib/index_template.html.haml
soywiki-0.7.7 lib/index_template.html.haml
soywiki-0.7.6 lib/index_template.html.haml
soywiki-0.7.5 lib/index_template.html.haml
soywiki-0.7.4 lib/index_template.html.haml