Sha256: c6c0650d5f103dcbfcd1883c2c0ced7e893744188fa44b52886992f4054faf9d
Contents?: true
Size: 568 Bytes
Versions: 3
Compression:
Stored size: 568 Bytes
Contents
<div> <% breadcrumb_trails.each do |trail| %> <div itemscope itemtype="http://data-vocabulary.org/Breadcrumb"> <% span_title = content_tag(:span, trail[0][:name], itemprop: "title") %> <% if trail[0][:url] == nil %> <%= span_title %> <% else %> <%= link_to_unless_current span_title, trail[0][:url], itemprop: "url" %> <% end %> <% if trail.size > 1 %> ><%= render partial: 'breadcrumble/data_vocabulary/breadcrumb_trail', locals: { trail: trail.drop(1) } %> <% end %> </div> <% end %> </div>
Version data entries
3 entries across 3 versions & 1 rubygems