Sha256: 2d340e3aa85f0a16eb7e646e87cec3a860e069cdb0ad0ca9b8f0be99a6b52cfa

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

%ul.nav
  %li.first
    %a{:href => route_to(model)} Home
  - for item in model.children
    - next unless item.show_in_nav
    %li
      %a{:href => route_to(item)}= orange[:sitemap].link_text_for(item)
      - unless item.descendants.empty?
        %ul.subnav
          - for x in item.children
            - next unless x.show_in_nav
            %li
              %a{:href => route_to(x)}= orange[:sitemap].link_text_for(x)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orange-more-0.7.3 lib/orange-more/sitemap/views/sitemap/two_level.haml
orange-more-0.7.2 lib/orange-more/sitemap/views/sitemap/two_level.haml
orange-more-0.7.1 lib/orange-more/sitemap/views/sitemap/two_level.haml