Fix link in sitemap
This commit is contained in:
parent
83acb78966
commit
0d048de33f
|
@ -1,10 +1,10 @@
|
|||
<div class="site-map">
|
||||
<% @items.each_with_index do |item, i| %>
|
||||
<div class="map-block">
|
||||
<h4><%= i+1 %> <%= "<a href='#{item.path}'>#{item.title}</a>" %></h4>
|
||||
<h4><%= i+1 %><a href='<%= item.path} %>'><%= item.title %></a></h4>
|
||||
<ul>
|
||||
<% item.children.each_with_index do |child, ii| %>
|
||||
<li class="clear"><%= "#{i+1}-#{ii+1}" %> <%= "<a href='#{child.path}'>#{child.title}</a>" %></span></li>
|
||||
<li class="clear"><%= "#{i+1}-#{ii+1}" %><a href='<%= child.path %>'><%= child.title %></a></span></li>
|
||||
<% end if item.children %>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue