Sha256: 6f3c198600ddf24ce03590c45d2ccc982bece4bf1ae36babdd0890b423649803

Contents?: true

Size: 474 Bytes

Versions: 3

Compression:

Stored size: 474 Bytes

Contents

<span itemprop="child" 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 %>
  &gt;<%= render partial: 'breadcrumble/data_vocabulary/breadcrumb_trail', locals: { trail: trail.drop(1) } %>
  <% end %>
</span>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
breadcrumble-5.0.0 app/views/breadcrumble/data_vocabulary/_breadcrumb_trail.html.erb
breadcrumble-4.3.1 app/views/breadcrumble/data_vocabulary/_breadcrumb_trail.html.erb
breadcrumble-4.3.0 app/views/breadcrumble/data_vocabulary/_breadcrumb_trail.html.erb