breadcrumble 0.0.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
|
|
1
1
|
<div>
|
2
2
|
<% breadcrumbs.each_with_index do |crumb, i| %>
|
3
3
|
<%= '>' unless i == 0 %>
|
4
|
-
<span>
|
5
|
-
<%= link_to_unless_current crumb[:name], crumb[:url] %>
|
4
|
+
<span itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb">
|
5
|
+
<%= link_to_unless_current content_tag(:span, crumb[:name], itemprop: "title"), crumb[:url], itemprop: "url" %>
|
6
6
|
</span>
|
7
7
|
<% end %>
|
8
8
|
</div>
|
data/lib/breadcrumble/version.rb
CHANGED