Sha256: 2936d9184aaa47b04a6990d6f0b268336bb64bacbf4127ae571498f4df885981

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

- section ||= '/'
- subpages = subpages_for(section)

- unless subpages.empty?
  nav.glypto-nav
    button.nav-toggle ng-click="toggle()"
    = link_to 'Glyptotheque', '/', class: '_logo'
    ul
      - subpages.each do |r|
        li(class="#{'s-selected' if r == current_page} #{'_index' if r.directory_index?}")
          - if r.directory_index?
            = link_to (r.data.title || resource_dir(r)), r.url
          - else
            = link_to (r.data.title || resource_file(r)), r.url

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sculptor-0.0.2 lib/sculptor/templates/glyptotheque/source/partials/glyptotheque/_nav.slim