chore: improve book alt
This commit is contained in:
parent
5fd4b77fd5
commit
ddc2e30375
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ layout: main
|
||||||
<div class="relative block" style="max-width:85px">
|
<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>
|
<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 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' %}
|
{% image bookImg, bookName, 'rounded-lg w-full h-full', '180px' %}
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
Reference in a new issue