feat: links from matter

This commit is contained in:
Cory Dransfeldt 2023-07-08 20:00:08 -07:00
parent 512fcd0167
commit 51d2a1c7d9
No known key found for this signature in database
4 changed files with 14 additions and 26 deletions

View file

@ -119,6 +119,7 @@ layout: main
</h2>
<div class="grid grid-cols-3 gap-2 md:grid-cols-6 not-prose">
{% for book in books %}
{% if book.cover %}
<a href="{{book.link}}" title="{{book.title | escape}}">
<div class="relative block" style="max-width:226px">
<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>
@ -127,6 +128,7 @@ layout: main
{% image bookImg, bookName, 'rounded-lg w-full h-full', '180px' %}
</div>
</a>
{% endif %}
{% endfor %}
</div>
{% endif %}