lib/yard/server/templates/default/layout/html/breadcrumb.erb in yard-0.6.8 vs lib/yard/server/templates/default/layout/html/breadcrumb.erb in yard-0.7.0

- old
+ new

@@ -29,18 +29,18 @@ <a href="/<%= router.docs_prefix %>" target="_top">Libraries</a> &raquo; <span class="title"><%= @library.name %> <% if @library.version %><small>(<%= @library.version %>)</small><% end %></span> <% end %> <% if object.is_a?(CodeObjects::Base) && @file.nil? %> <% unless @single_library %>&raquo;<% end %> - <a href="/<%= base_path(router.docs_prefix) %>"><% if object.root? || object.type == :method %>Index<% else %>Index (<%= object.name.to_s[0] %>)<% end %></a> &raquo; + <a href="/<%= base_path(router.docs_prefix) %>"><% if object.root? || object.type == :method %>Index<% else %>Index (<%= object.name.to_s[0] %>)<% end %></a> &raquo; <%= @breadcrumb.map {|obj| "<span class='title'>" + linkify(obj, obj.name) + "</span>" }.join(" &raquo; ") %> <%= @breadcrumb.size > 0 ? " &raquo; " : "" %> <span class='title'><%= object.root? ? "Top Level Namespace" : object.name(true) %></span> <% else %> <% if (@breadcrumb_title || object != '_index.html') && !@single_library %>&raquo; <% end %> <% if object != '_index.html' %><a href="/<%= base_path(router.docs_prefix) %>">Index</a> &raquo; <% end %> <span class='title'><%= @breadcrumb_title %></span> <% end %> - + <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div> </div>