Sha256: 559c1d8c18469b14407f28ed6ba0963f778a092d987eda57006618c12a1fc5b2

Contents?: true

Size: 760 Bytes

Versions: 12

Compression:

Stored size: 760 Bytes

Contents

!!!
%html
  %head
    :css
      h3 { margin-top: 0 }
      .sidebar { float:left; width: 15%; font-size: small }
      .main { margin-left: 32%; width: 65% }
      .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
            %a{:href => "../#{namespace}/index.html"}= namespace 
            %span.page-count
              = count
    .sidebar
      %h3= namespace
      %ul
        - pages.each do |page|
          %li
            %a{:href => "#{page}.html"}= page
    .main
      %h2= title
      - if markdown
        != body.to_html
      - else
        %pre= body

Version data entries

12 entries across 12 versions & 1 rubygems

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