lib/guides/templates/source/_clickable_index.html.erb in guides-0.6.4 vs lib/guides/templates/source/_clickable_index.html.erb in guides-0.6.5
- old
+ new
@@ -1,17 +1,17 @@
<dl class="L">
<% lgroup.each do |group, guides| %>
<dt><%= group %></dt>
<% guides.each do |guide| %>
- <dd><%= link_to guide["title"], "#{guide["url"]}.html" %></dd>
+ <dd><%= guide_link(guide) %></dd>
<% end %>
<% end %>
</dl>
<dl class="R">
<% rgroup.each do |group, guides| %>
<dt><%= group %></dt>
<% guides.each do |guide| %>
- <dd><%= link_to guide["title"], "#{guide["url"]}.html" %></dd>
+ <dd><%= guide_link(guide) %></dd>
<% end %>
<% end %>
</dl>