Sha256: c735486f8ef947f9e1e690e8ed74b091eb0d0b23f66dedcfd26e6510fef8e0b3
Contents?: true
Size: 648 Bytes
Versions: 16
Compression:
Stored size: 648 Bytes
Contents
- cache node do = content_tag :li, class: ['nav-item', node.children.any? ? 'dropdown' : nil].compact do = link_to_if node.url, node.name, @preview_mode ? 'javascript: void(0)' : node.url, class: ['nav-link', current_page?(node.url) ? 'active' : nil].compact, title: node.title, target: node.external? ? '_blank' : nil, rel: node.nofollow? ? 'nofollow' : nil - if node.children.any? ul.dropdown-menu = render partial: options[:node_partial_name], collection: node.children.includes(:page, :children), locals: { options: options }, as: 'node'
Version data entries
16 entries across 16 versions & 1 rubygems