Sha256: 5aee2dc3eedf489cc244a17f56c1337621cd555d265d8e50e762e61de6d48cb3

Contents?: true

Size: 367 Bytes

Versions: 2

Compression:

Stored size: 367 Bytes

Contents

%ul{ :class => "sf-menu" }
  - Page.navigation.each do |root|
    %li
      = link_to root.link, link_path(root.name)
      %ul
        - root.children.show_in_nav.each do |item|
          %li
            = nav_link(item)
            - unless item.children.empty?
              %ul
                - item.children.each do |item|
                  %li= nav_link(item)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sushifish-0.9.6 lib/generators/sushi/templates/_navigation.html.haml
sushifish-0.9.0 lib/generators/sushi/templates/_navigation.html.haml