Skip to content

Commit df03343

Browse files
committed
Make recent reading' covers clickable
1 parent f3d3675 commit df03343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ unless books.empty?
1616
unless cover.nil?
1717
%>
1818

19-
<img src="<%= cover.path(rep: :medium) %>" width="<%= cover["width_medium"] %>" class="book-cover-card">
19+
<a href="<%= book.path %>"><img src="<%= cover.path(rep: :medium) %>" width="<%= cover["width_medium"] %>" class="book-cover-card"></a>
2020
<% end %>
2121
<div class="book-info"title="<%= "#{book[:title]} de #{book[:author]}"%>">
2222
<div class="book-header">

0 commit comments

Comments
 (0)