Sha256: f3e93b357e5b7923513d4c20add52adcd1a1c00b88d4cb983a2fcc064a418a15

Contents?: true

Size: 679 Bytes

Versions: 43

Compression:

Stored size: 679 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
            %a{:href => "../#{namespace}/index.html"}= namespace 
            %span.page-count
              = count
      %h3= namespace
      %ul
        - pages.each do |page|
          %li
            %a{:href => "#{page}.html"}= page
    .main
      %h2= title
      %pre= body

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
soywiki-0.4.8 lib/page_template.html.haml
soywiki-0.4.7 lib/page_template.html.haml
soywiki-0.4.6 lib/page_template.html.haml
soywiki-0.4.5 lib/page_template.html.haml
soywiki-0.4.4 lib/page_template.html.haml
soywiki-0.4.3 lib/page_template.html.haml
soywiki-0.4.2 lib/page_template.html.haml
soywiki-0.4.1 lib/page_template.html.haml
soywiki-0.4.0 lib/page_template.html.haml
soywiki-0.3.9 lib/page_template.html.haml
soywiki-0.3.8 lib/page_template.html.haml
soywiki-0.3.7 lib/page_template.html.haml
soywiki-0.3.6 lib/page_template.html.haml
soywiki-0.3.5 lib/page_template.html.haml
soywiki-0.3.4 lib/page_template.html.haml
soywiki-0.3.3 lib/page_template.html.haml
soywiki-0.3.2 lib/page_template.html.haml
soywiki-0.3.1 lib/page_template.html.haml
soywiki-0.3.0 lib/page_template.html.haml
soywiki-0.2.9 lib/page_template.html.haml