feat: refactor image loading
This commit is contained in:
parent
22fd3850ef
commit
93fb7eafeb
30 changed files with 3408 additions and 4023 deletions
|
@ -13,7 +13,7 @@ permalink: "/books/index.html"
|
|||
{% capture alt %}{{ book.title }} by {{ book.authors }}{% endcapture %}
|
||||
<article class="book-entry">
|
||||
<a href="{{ book.url }}">
|
||||
{% image book.image, alt %}
|
||||
<img src="https://coryd.dev/.netlify/images/?url={{ book.image }}&fm=webp&q=85&w=137&h=209&fit=cover" alt="{{ alt }}" loading="eager" decoding="async" />
|
||||
</a>
|
||||
<div class="book-meta">
|
||||
<a href="{{ book.url }}">
|
||||
|
|
Reference in a new issue