12 lines
306 B
Plaintext
12 lines
306 B
Plaintext
|
<% 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 %>
|