chore: improve book alt

This commit is contained in:
Cory Dransfeldt 2023-07-07 13:19:45 -07:00
parent 5fd4b77fd5
commit ddc2e30375
No known key found for this signature in database

View file

@ -123,7 +123,7 @@ layout: main
<div class="relative block" style="max-width:85px">
<div class="absolute left-0 top-0 h-full w-full rounded-lg border border-purple-600 hover:border-purple-500 dark:border-purple-400 dark:hover:border-purple-500"></div>
{%- capture bookImg %}{{book.cover}}{% endcapture -%}
{%- capture bookName %}{{book.title | escape}}{% endcapture -%}
{%- capture bookName %}{{book.title | escape}} by {{book.author | escape}}{% endcapture -%}
{% image bookImg, bookName, 'rounded-lg w-full h-full', '180px' %}
</div>
</a>