Sha256: d72f05dde40fa48de40fd06bcbcf327ddde04215b024c412e0e4aeb894c005f4

Contents?: true

Size: 710 Bytes

Versions: 13

Compression:

Stored size: 710 Bytes

Contents

- commence = (defined?(start) && start) || current_page
- pages = commence.brethren
- unless pages.to_a.empty?
  %div{:class => (defined?(klass) && klass) || nav_brethren_class}
    %dl
      - pages.each do |p|
        %dt<
          = link_to p.data.title, p
        - if p.data.blurb
          %dd= p.data.blurb

-#
  - This partial renders links with blurbs into a <dl> to serve as
    a related links table of contents.
  - You probably need a class in order to render this properly.
  - For a compact form without blurbs, see also `_nav_brethren_index.haml.
  - :klass - pass in this local to specify a class for the containing div.
  - :start - pass in this local to specify a different starting point.

Version data entries

13 entries across 12 versions & 2 rubygems

Version Path
middleman-pagegroups-1.0.10 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.9 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.8 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.7 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.6 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.5 documentation_project/source/partials/_nav_brethren.haml
middlemac-2.0.0 fixtures/middlemac_app/Contents/Resources/Base.lproj/assets/partials/_nav_brethren.haml
middlemac-2.0.0 documentation_project/Contents/Resources/Base.lproj/assets/partials/_nav_brethren.haml
middleman-pagegroups-1.0.4 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.3 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.2 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.1 documentation_project/source/partials/_nav_brethren.haml
middleman-pagegroups-1.0.0 documentation_project/source/partials/_nav_brethren.haml