|
<% if not @ancestors.empty? %>
|
|
<div class='category_list'>
|
|
<ul class='list'>
|
|
<%= @ancestors.each do |node| %>
|
|
<li class='active'>
|
|
<%= link_to node.title, (node.class.to_s.eql?('Page') ? '/' + node.path : node.url) %>
|
|
</li>
|
|
<% end %>
|
|
</ul>
|
|
</div>
|
|
<% end %>
|