Sha256: ed43c6870b348f59c06a7dda6df219c246b97f63a9bb850bbf400ebaa6b31ee3

Contents?: true

Size: 772 Bytes

Versions: 44

Compression:

Stored size: 772 Bytes

Contents

!!!
%html
  %head
    :css
      h3 { margin-top: 0 }
      .sidebar { float:left; width: 20%; font-size: small }
      .main { margin-left: 22%; width: 70% }
      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
      - if ! root
        %h3= namespace
        %ul
          - pages.each do |page|
            %li
              %a{:href => "#{page}.html"}= page

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
soywiki-0.7.1 lib/index_template.html.haml
soywiki-0.7.0 lib/index_template.html.haml
soywiki-0.6.7 lib/index_template.html.haml
soywiki-0.6.6 lib/index_template.html.haml
soywiki-0.6.5 lib/index_template.html.haml
soywiki-0.6.4 lib/index_template.html.haml
soywiki-0.6.3 lib/index_template.html.haml
soywiki-0.6.2 lib/index_template.html.haml
soywiki-0.6.1 lib/index_template.html.haml
soywiki-0.6.0 lib/index_template.html.haml
soywiki-0.5.9 lib/index_template.html.haml
soywiki-0.5.8 lib/index_template.html.haml
soywiki-0.5.7 lib/index_template.html.haml
soywiki-0.5.6 lib/index_template.html.haml
soywiki-0.5.5 lib/index_template.html.haml
soywiki-0.5.4 lib/index_template.html.haml
soywiki-0.5.3 lib/index_template.html.haml
soywiki-0.5.2 lib/index_template.html.haml
soywiki-0.5.1 lib/index_template.html.haml
soywiki-0.5.0 lib/index_template.html.haml