Sha256: ffc4b79fea170f60de8fadc58c27aa98feedf8feaa0b77fa89c7dd0dcc22a1fc
Contents?: true
Size: 638 Bytes
Versions: 13
Compression:
Stored size: 638 Bytes
Contents
- commence = (defined?(start) && start) || current_page - pages = commence.legitimate_children - unless pages.to_a.empty? %div{:class => (defined?(klass) && klass) || nav_legitimate_children_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 high-level table of contents. - You probably need a class in order to render this properly. - :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