Sha256: b7e058b4c5f0d11b415a2329b6b9910facc511901362d60f6ee6004b14ca4eaf

Contents?: true

Size: 825 Bytes

Versions: 13

Compression:

Stored size: 825 Bytes

Contents

!!!
%html
  %head
    %meta{'http-equiv'=>'Content-Type', content:'text/html; charset=UTF-8'}
    :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

13 entries across 13 versions & 1 rubygems

Version Path
soywiki-0.9.8.3 lib/index_template.html.haml
soywiki-0.9.8.2 lib/index_template.html.haml
soywiki-0.9.8.2.pre.2 lib/index_template.html.haml
soywiki-0.9.8.2.pre.1 lib/index_template.html.haml
soywiki-0.9.8.2.pre lib/index_template.html.haml
soywiki-0.9.8.1 lib/index_template.html.haml
soywiki-0.9.8 lib/index_template.html.haml
soywiki-0.9.7 lib/index_template.html.haml
soywiki-0.9.6 lib/index_template.html.haml
soywiki-0.9.5 lib/index_template.html.haml
soywiki-0.9.4 lib/index_template.html.haml
soywiki-0.9.3 lib/index_template.html.haml
soywiki-0.9.2 lib/index_template.html.haml