Skip to content

Commit

Permalink
Make recent reading' covers clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
opatry committed Jan 5, 2025
1 parent f3d3675 commit df03343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ unless books.empty?
unless cover.nil?
%>

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

0 comments on commit df03343

Please sign in to comment.