Skip to content

Commit 89eda44

Browse files
committed
Fixed book-shelf image url
Signed-off-by: George Araújo <[email protected]>
1 parent b2a7850 commit 89eda44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/book-shelf.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ layout: page
2222
<figure class="cover">
2323
<a class="cover-link" href="{{ item.url | relative_url }}">
2424
{% if item.cover %}
25-
<img alt="{{ item.title }} cover" src="{{ site.baseurl }}/{{ page.covers }}/{{ item.cover }}" style="height:200px">
25+
<img alt="{{ item.title }} cover" src="{{ item.cover | prepend: page.covers | relative_url }}" style="height:200px">
2626
{% elsif item.olid %}
2727
<img alt="{{ item.title }} cover" src="http://covers.openlibrary.org/b/olid/{{ item.olid }}-L.jpg?default=false" style="height:200px">
2828
{% elsif item.isbn %}

0 commit comments

Comments
 (0)