Skip to content

Commit 94b5111

Browse files
committed
Use Item#path
1 parent 3c64eeb commit 94b5111

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ <h2 class="title"><%= @item[:title] %></h2>
210210
<h3><%= section.capitalize %></h3>
211211
<% items.sort_by {|item| item[:title] || "" }.each do |item| %>
212212
<% if item[:title] %>
213-
<li><a href="<%= item[:path] %>"><%= item[:title] %></a></li>
213+
<li><a href="<%= item.path %>"><%= item[:title] %></a></li>
214214
<% end %>
215215
<% end %>
216216
<% end %>

0 commit comments

Comments
 (0)