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.2.8 lib/page_template.html.haml
soywiki-0.2.7 lib/page_template.html.haml
soywiki-0.2.3 lib/page_template.html.haml