Skip to content

Commit 659a876

Browse files
Fix anchor links
1 parent d436b7a commit 659a876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/2017/pages/library.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
<ul>
5858
<% links.each do |link| %>
59-
<li><%= link_to link[:name], link[:path], anchor: link[:anchor] %></li>
59+
<li><%= link_to link[:name], [link[:path], link[:anchor]].compact.join('#') %></li>
6060
<% end %>
6161
</ul>
6262
</div> <!-- .e-content -->

0 commit comments

Comments
 (0)